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

4 lines
139 B
SQL

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