增加封禁记录表
This commit is contained in:
parent
6fb8015c14
commit
004a59a798
10
1723701212_create_banlist_table.up.sql
Normal file
10
1723701212_create_banlist_table.up.sql
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
CREATE TABLE `ufutx_banlist` (
|
||||||
|
`id` bigint(20) PRIMARY KEY NOT NULL AUTO_INCREMENT,
|
||||||
|
`type` ENUM('user', 'ip', 'device') NOT NULL COMMENT "类型",
|
||||||
|
`value` varchar(255) NOT NULL COMMENT '对应值',
|
||||||
|
`expired_at` timestamp NULL DEFAULT NULL COMMENT "过期时间",
|
||||||
|
`remark` text NULL DEFAULT NULL COMMENT '备注',
|
||||||
|
`created_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`updated_at` timestamp NULL DEFAULT NULL,
|
||||||
|
`deleted_at` timestamp NULL DEFAULT NULL
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT=' 封禁记录';
|
Loading…
Reference in New Issue
Block a user