Skip to content

Commit

Permalink
Accidentally forgot an 'IF NOT EXISTS'
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMcFelix committed Dec 28, 2023
1 parent 4b65a67 commit ec3e01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/crdb/22.0.0/up06.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ALTER TABLE omicron.public.external_ip
ADD CONSTRAINT detached_null_parent_id CHECK (
ADD CONSTRAINT IF NOT EXISTS detached_null_parent_id CHECK (
(state = 'detached') OR (parent_id IS NOT NULL)
);

0 comments on commit ec3e01e

Please sign in to comment.