refs #6434 feat: remove primary key constraint
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Javier Segarra 2023-11-16 08:31:01 +01:00
parent 3c8ed3ff51
commit e73836cbdb
1 changed files with 1 additions and 2 deletions

View File

@ -12,8 +12,7 @@ CREATE TABLE `account`.`signInLog` (
`userFk` int(10) unsigned DEFAULT NULL,
`creationDate` timestamp NULL DEFAULT current_timestamp(),
`ip` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `userFk` (`userFk`),
CONSTRAINT `signInLog_ibfk_1` FOREIGN KEY (`userFk`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
);