Store the account type ("hydra" or "persona") explicitly in the database

This commit is contained in:
Eelco Dolstra
2013-11-05 11:46:05 +01:00
parent 14b9b201e1
commit 36c961a376
7 changed files with 22 additions and 10 deletions

View File

@ -9,7 +9,8 @@ create table Users (
fullName text,
emailAddress text not null,
password text not null, -- sha256 hash
emailOnError integer not null default 0
emailOnError integer not null default 0,
type text not null default 'hydra' -- either "hydra" or "persona"
);