This commit is contained in:
@@ -177,7 +177,7 @@ namespace AyaNova.Util
|
||||
|
||||
//Add user options table
|
||||
await ExecQueryAsync("CREATE TABLE auseroptions (id BIGSERIAL PRIMARY KEY, " +
|
||||
"userid bigint not null, languageoverride text, timezoneoverride text, currencyname text, hour12 bool not null, emailaddress text, uicolor int not null default 0)");
|
||||
"userid bigint not null, languageoverride text, timezoneoverride text, currencyname text, hour12 bool not null, emailaddress text, uicolor varchar(12) not null default '#000000')");
|
||||
|
||||
|
||||
//Prime the db with the default MANAGER account
|
||||
|
||||
@@ -593,6 +593,7 @@ namespace AyaNova.Util
|
||||
u.UserOptions.EmailAddress = p.Email.Replace("gmail.com", "helloayanova.com").Replace("hotmail.com", "helloayanova.com").Replace("yahoo.com", "helloayanova.com");
|
||||
u.UserOptions.Hour12 = true;
|
||||
u.UserOptions.CurrencyName = "USD";
|
||||
u.UserOptions.UiColor= Fake.Internet.Color();
|
||||
|
||||
|
||||
|
||||
@@ -624,6 +625,7 @@ namespace AyaNova.Util
|
||||
// WidgetBiz biz = WidgetBiz.GetBiz(ServiceProviderProvider.DBContext);
|
||||
|
||||
var f = new Bogus.Faker();
|
||||
|
||||
|
||||
//RANDOM ROLES
|
||||
Array values = Enum.GetValues(typeof(UserType));
|
||||
|
||||
Reference in New Issue
Block a user