19 lines
833 B
MySQL
19 lines
833 B
MySQL
|
-- 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(), '');
|