refs #6434 perf: add owner field

This commit is contained in:
Javier Segarra 2023-11-17 10:11:12 +01:00
parent 891738bd57
commit 32b132ca10
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,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,
`owner` tinyint(1) DEFAULT 1,
KEY `userFk` (`userFk`),
CONSTRAINT `signInLog_ibfk_1` FOREIGN KEY (`userFk`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
);