Skip to content

Commit

Permalink
Fix constraint name
Browse files Browse the repository at this point in the history
  • Loading branch information
akheron committed Feb 13, 2025
1 parent aa88d92 commit 8304757
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ALTER TABLE application ADD COLUMN primary_preferred_unit uuid
GENERATED ALWAYS AS ((document -> 'apply' -> 'preferredUnits' ->> 0)::uuid) STORED
CONSTRAINT fk$primary_preferred_unit REFERENCES daycare (id);

CREATE INDEX idx$application_primary_unit_status ON application (primary_preferred_unit);
CREATE INDEX idx$application_primary_preferred_unit ON application (primary_preferred_unit);

0 comments on commit 8304757

Please sign in to comment.