Upgrade.sql devenu upgrade192.sql

This commit is contained in:
sparkyx 2024-01-28 11:41:14 +01:00
parent 03e9073df0
commit 3b110ee495

View file

@ -1,7 +1 @@
create table action_comment_document (acd_id bigint generated by default as identity primary key
, document_id bigint references document(d_id) on delete cascade on update cascade,
action_gestion_comment_id bigint references action_gestion_comment(agc_id) on delete cascade on update cascade);
alter table action_comment_document
add constraint action_comment_document_un
unique (document_id, action_gestion_comment_id);