diff --git a/db/changes/234604/00-createSignInLogTable.sql b/db/changes/234604/00-createSignInLogTable.sql index 525348135..59a7a586b 100644 --- a/db/changes/234604/00-createSignInLogTable.sql +++ b/db/changes/234604/00-createSignInLogTable.sql @@ -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 );