storage/sql: add password resource

This commit is contained in:
Eric Chiang
2016-10-05 16:04:11 -07:00
parent 138f55be06
commit 8012e56446
2 changed files with 84 additions and 7 deletions

View File

@@ -137,6 +137,13 @@ var migrations = []migration{
connector_id text not null,
connector_data bytea
);
create table password (
email text not null primary key,
hash bytea not null,
username text not null,
user_id text not null
);
-- keys is a weird table because we only ever expect there to be a single row
create table keys (