--------------------------------------------------------------------------------
-- Up
--------------------------------------------------------------------------------

create table messages
(
    id               text
        constraint messages_pk
            primary key,
    guild            text not null,
    channel          text 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;
