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