Skip to content

Commit

Permalink
feat(doc_x_workcat): add unique constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
mguzman14 committed Sep 12, 2024
1 parent db64c64 commit fd20c76
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions updates/36/36013/utils/tablect.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
This file is part of Giswater 3
The program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This version of Giswater is provided by Giswater Association
*/

alter table doc_x_workcat add constraint unique_doc_id_workcat_id unique (doc_id, workcat_id);

0 comments on commit fd20c76

Please sign in to comment.