put passwords into a separate table

master
rasul 5 years ago
parent 6677deb460
commit b38d96dd5c

@ -43,7 +43,6 @@ create table exits (
create table players (
id text not null primary key,
name text not null unique,
password text not null,
created numeric not null,
location text not null,
foreign key(location) references rooms(id)
@ -54,3 +53,10 @@ create table connected_players (
player text not null unique,
foreign key(player) references players(id)
);
create table passwords (
player text not null primary key,
salt text not null,
hash text not null,
foreign key(player) references players(id)
);

Loading…
Cancel
Save