salix/db/changes/230601/00-uniqueKeyNotificationSub...

4 lines
139 B
SQL

ALTER TABLE
`util`.`notificationSubscription`
ADD
CONSTRAINT `notificationSubscription_UN` UNIQUE KEY (`notificationFk`, `userFk`);