test #1873
|
@ -1,20 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Table structure for table `signInLog`
|
|
||||||
-- Description: log to debug cross-login error
|
|
||||||
--
|
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `account`.`signInLog`;
|
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
|
||||||
CREATE TABLE `account`.`signInLog` (
|
|
||||||
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
||||||
`token` varchar(255) NOT NULL ,
|
|
||||||
`userFk` int(10) unsigned DEFAULT NULL,
|
|
||||||
`creationDate` timestamp NULL DEFAULT current_timestamp(),
|
|
||||||
`ip` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
|
|
||||||
KEY `userFk` (`userFk`),
|
|
||||||
CONSTRAINT `signInLog_ibfk_1` FOREIGN KEY (`userFk`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
|
||||||
);
|
|
||||||
|
|
Loading…
Reference in New Issue