Skip to content

Commit

Permalink
fix schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Mar 27, 2024
1 parent 37693a7 commit 940ba5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion schema/crdb/physical-disk-state-and-policy/up02.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CREATE TYPE IF NOT EXISTS omicron.public.physical_disk_state AS ENUM (
'active',
'decomissioned'
'decommissioned'
);
4 changes: 2 additions & 2 deletions schema/crdb/physical-disk-state-and-policy/up03.sql
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit 940ba5b

Please sign in to comment.