finish: gorm序列化
This commit is contained in:
17
ddl/fs_guest.sql
Normal file
17
ddl/fs_guest.sql
Normal file
@@ -0,0 +1,17 @@
|
||||
-- fusentest.fs_guest definition
|
||||
|
||||
|
||||
|
||||
CREATE TABLE `fs_guest` (
|
||||
`guest_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '游客ID',
|
||||
`auth_key` varchar(512) NOT NULL DEFAULT '' COMMENT 'jwt token',
|
||||
`status` tinyint(3) unsigned DEFAULT '1' COMMENT '1正常 0不正常',
|
||||
`is_del` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除 1删除',
|
||||
`created_at` int(11) NOT NULL DEFAULT '0' COMMENT '添加时间',
|
||||
`updated_at` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
|
||||
`is_open_render` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否打开个性化渲染(1:开启,0:关闭)',
|
||||
`is_thousand_face` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否已经存在千人千面(1:存在,0:不存在)',
|
||||
`is_low_rendering` tinyint(1) unsigned zerofill NOT NULL DEFAULT '0' COMMENT '是否开启低渲染模型渲染',
|
||||
`is_remove_bg` tinyint(1) NOT NULL DEFAULT '1' COMMENT '用户上传logo是否去除背景',
|
||||
PRIMARY KEY (`guest_id`) USING BTREE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='游客表';
|
||||
Reference in New Issue
Block a user