lavina/migrations/0_first.sql

16 lines
398 B
MySQL
Raw Normal View History

2023-07-07 13:09:24 +00:00
create table users(
id integer primary key autoincrement not null,
name string unique not null
);
-- for development only, replace with properly hashed passwords later
create table challenges_plain_password(
user_id integer primary key not null,
password string not null
);
create table rooms(
id integer primary key autoincrement not null,
name string unique not null
);