cmds func fin v1

This commit is contained in:
Jay
2018-07-02 23:02:48 +08:00
parent d6f1b81796
commit d7c64b3c65
4 changed files with 33 additions and 5 deletions
+19
View File
@@ -0,0 +1,19 @@
-- auto-generated definition
create table "public"."commands"
(
cmd varchar(200) not null
constraint commands_pkey
primary key,
message varchar(300) default '' :: character varying not null,
ctime timestamp with time zone default CURRENT_TIMESTAMP not null,
mtime timestamp with time zone default CURRENT_TIMESTAMP not null,
"group" varchar(100) default '' :: character varying not null
);
insert into "public"."commands" ("cmd", "message", "ctime", "mtime", "group") values
('addgroup', '{{addgroup}}', now(), now(), ''),
('addpage', '{{addpage}}', now(), now(), ''),
('delpage', '{{delpage}}', now(), now(), ''),
('addtwitch', '{{addtwitch}}', now(), now(), ''),
('deltwitch', '{{deltwitch}}', now(), now(), ''),
('hello', '{{hello}}', now(), now(), '');