forked from lavina/lavina
1
0
Fork 0
lavina/migrations/0_first.sql

16 lines
398 B
SQL

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
);