FemScoreboard/discord/migrations/002-users-table.sql

21 lines
639 B
MySQL
Raw Normal View History

2023-10-07 22:46:02 -07:00
--------------------------------------------------------------------------------
-- 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;