Add event log and statistic log
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
drop table if exists t_event_log;
|
||||
|
||||
create table if not exists t_event_log -- 事件日志表
|
||||
(
|
||||
id bigint not null primary key,
|
||||
event varchar(50) not null, -- 事件,
|
||||
operate_user_id bigint not null, -- 操作用户
|
||||
operate_time datetime not null default (strftime('%Y-%m-%d %H:%M:%f','now')) -- 操作时间
|
||||
);
|
||||
@@ -0,0 +1,9 @@
|
||||
drop table if exists t_statistic_log;
|
||||
|
||||
create table if not exists t_statistic_log -- 统计日志表
|
||||
(
|
||||
id bigint not null primary key,
|
||||
key varchar(50) not null, -- 记录键
|
||||
value varchar(100) not null, -- 记录值
|
||||
record_time datetime not null default (strftime('%Y-%m-%d %H:%M:%f', 'now')) -- 记录时间
|
||||
)
|
||||
Reference in New Issue
Block a user