From 83606716fcea6bf6a88f80ab8cfa3ddffb2cd065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Sat, 19 Nov 2022 22:04:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:CRUD=E6=97=A5=E5=BF=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/buildadmin.sql | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/app/admin/buildadmin.sql b/app/admin/buildadmin.sql index 248d5245..e817285e 100644 --- a/app/admin/buildadmin.sql +++ b/app/admin/buildadmin.sql @@ -572,4 +572,18 @@ CREATE TABLE `__PREFIX__user_score_log` ( `memo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '备注', `createtime` int(10) unsigned DEFAULT NULL COMMENT '创建时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='会员积分变动表'; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='会员积分变动表'; + +-- ---------------------------- +-- Table structure for `__PREFIX__crud_log` +-- ---------------------------- +DROP TABLE IF EXISTS `__PREFIX__crud_log`; +CREATE TABLE `__PREFIX__crud_log` ( + `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID', + `table_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '数据表名', + `table` text COLLATE utf8mb4_unicode_ci COMMENT '数据表数据', + `fields` text COLLATE utf8mb4_unicode_ci COMMENT '字段数据', + `status` enum('delete','success','error','start') COLLATE utf8mb4_unicode_ci DEFAULT 'start' COMMENT '状态:delete=已删除,success=成功,error=失败,start=生成中', + `create_time` bigint(16) DEFAULT NULL COMMENT '创建时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='crud记录'; \ No newline at end of file