mirror of
https://git.femboyfinancial.jp/james/FemScoreboard.git
synced 2024-11-29 13:11:59 -08:00
24 lines
761 B
MySQL
24 lines
761 B
MySQL
|
--------------------------------------------------------------------------------
|
||
|
-- Up
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
create table messages
|
||
|
(
|
||
|
id integer
|
||
|
constraint messages_pk
|
||
|
primary key,
|
||
|
guild integer not null,
|
||
|
channel integer not null,
|
||
|
author text not null,
|
||
|
content text,
|
||
|
reaction_1_count integer not null default 0,
|
||
|
reaction_2_count integer not null default 0,
|
||
|
reaction_3_count integer not null default 0
|
||
|
);
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
-- Down
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
DROP TABLE messages;
|