Added forgotten SQL changes

This commit is contained in:
Magnus Åhall 2024-05-01 21:16:58 +02:00
parent 62405c3138
commit 012781d267
2 changed files with 2 additions and 0 deletions

1
sql/00009.sql Normal file
View File

@ -0,0 +1 @@
ALTER TABLE public.area ADD CONSTRAINT area_unique UNIQUE ("name");

1
sql/00010.sql Normal file
View File

@ -0,0 +1 @@
ALTER TABLE public."section" ADD CONSTRAINT section_areaname_unique UNIQUE ("name",area_id);