add Visitor in example

This commit is contained in:
long2ice
2020-09-22 23:28:53 +08:00
parent 7e2889510e
commit a28bd454dd
4 changed files with 52 additions and 0 deletions

View File

@ -17,6 +17,21 @@
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for category
-- ----------------------------
DROP TABLE IF EXISTS `visitor`;
CREATE TABLE `visitor`
(
`id` int NOT NULL AUTO_INCREMENT,
`ip` varchar(200) NOT NULL UNIQUE,
`updated_at` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
`created_at` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
PRIMARY KEY (`id`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4
COLLATE = utf8mb4_general_ci;
-- ----------------------------
-- Table structure for category
-- ----------------------------