FemScoreboard/discord/migrations/002-users-table.sql
2023-10-07 22:46:02 -07:00

21 lines
639 B
SQL

--------------------------------------------------------------------------------
-- Up
--------------------------------------------------------------------------------
create table users
(
id text
constraint users_pk
primary key,
username text not null,
reaction_1_total integer not null default 0,
reaction_2_total integer not null default 0,
reaction_3_total integer not null default 0
);
--------------------------------------------------------------------------------
-- Down
--------------------------------------------------------------------------------
DROP TABLE users;