diff --git a/schema/crdb/physical-disk-state-and-policy/up02.sql b/schema/crdb/physical-disk-state-and-policy/up02.sql index 25a7099999..fbe5ba6e51 100644 --- a/schema/crdb/physical-disk-state-and-policy/up02.sql +++ b/schema/crdb/physical-disk-state-and-policy/up02.sql @@ -1,4 +1,4 @@ CREATE TYPE IF NOT EXISTS omicron.public.physical_disk_state AS ENUM ( 'active', - 'decomissioned' + 'decommissioned' ); diff --git a/schema/crdb/physical-disk-state-and-policy/up03.sql b/schema/crdb/physical-disk-state-and-policy/up03.sql index b6dd720e98..3340620777 100644 --- a/schema/crdb/physical-disk-state-and-policy/up03.sql +++ b/schema/crdb/physical-disk-state-and-policy/up03.sql @@ -1,5 +1,5 @@ ALTER TABLE omicron.public.physical_disk - ADD COLUMN IF NOT EXISTS disk_policy omicron.public.disk_policy + ADD COLUMN IF NOT EXISTS disk_policy omicron.public.physical_disk_policy NOT NULL DEFAUlT 'in_service', - ADD COLUMN IF NOT EXISTS disk_state omicron.public.disk_state + ADD COLUMN IF NOT EXISTS disk_state omicron.public.physical_disk_state NOT NULL DEFAULT 'active';