4797-lilium-worker-notifications #1229
|
@ -2,3 +2,6 @@ ALTER TABLE `util`.`notificationSubscription`
|
||||||
ADD `id` int(11) auto_increment NULL,
|
ADD `id` int(11) auto_increment NULL,
|
||||||
DROP PRIMARY KEY,
|
DROP PRIMARY KEY,
|
||||||
ADD CONSTRAINT PRIMARY KEY (`id`);
|
ADD CONSTRAINT PRIMARY KEY (`id`);
|
||||||
|
|
||||||
|
ALTER TABLE `util`.`notificationSubscription`
|
||||||
|
ADD KEY `notificationSubscription_ibfk_1` (`notificationFk`);
|
|
@ -19729,7 +19729,6 @@ CREATE TABLE `notificationSubscription` (
|
||||||
`notificationFk` int(11) NOT NULL,
|
`notificationFk` int(11) NOT NULL,
|
||||||
pau marked this conversation as resolved
Outdated
|
|||||||
`userFk` int(10) unsigned NOT NULL,
|
`userFk` int(10) unsigned NOT NULL,
|
||||||
PRIMARY KEY (`notificationFk`,`userFk`),
|
PRIMARY KEY (`notificationFk`,`userFk`),
|
||||||
KEY `notificationSubscription_ibfk_1` (`notificationFk`),
|
|
||||||
KEY `notificationSubscription_ibfk_2` (`userFk`),
|
KEY `notificationSubscription_ibfk_2` (`userFk`),
|
||||||
pau marked this conversation as resolved
Outdated
alexm
commented
Minúscula Minúscula
|
|||||||
CONSTRAINT `notificationSubscription_ibfk_1` FOREIGN KEY (`notificationFk`) REFERENCES `notification` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
CONSTRAINT `notificationSubscription_ibfk_1` FOREIGN KEY (`notificationFk`) REFERENCES `notification` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||||
pau marked this conversation as resolved
Outdated
alexm
commented
Hace falta añadir Hace falta añadir `KEY `notificationSubscription_ibfk_1` (`notificationFk`)` ?
|
|||||||
CONSTRAINT `notificationSubscription_ibfk_2` FOREIGN KEY (`userFk`) REFERENCES `account`.`user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
CONSTRAINT `notificationSubscription_ibfk_2` FOREIGN KEY (`userFk`) REFERENCES `account`.`user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||||
|
|
Loading…
Reference in New Issue
Minúscula
Esto no debería estar en el changes también???