This commit is contained in:
2018-09-05 19:57:59 +00:00
parent c291360dfa
commit e0e5dd1942
4 changed files with 280 additions and 3 deletions

View File

@@ -143,6 +143,10 @@ namespace AyaNova.Util
"login text not null, password text not null, salt text not null, roles integer not null, localeid bigint not null REFERENCES alocale (id), " +
"dlkey text, dlkeyexpire timestamp, usertype integer not null, employeenumber varchar(255), notes text, clientid bigint, headofficeid bigint, subvendorid bigint)");
//Add user options table
exec("CREATE TABLE auseroptions (id BIGSERIAL PRIMARY KEY, ownerid bigint not null)");
//Prime the db with the default MANAGER account
AyaNova.Biz.PrimeData.PrimeManagerAccount(ct);