This commit is contained in:
@@ -337,8 +337,8 @@ $BODY$;
|
||||
"userid bigint not null, translationid bigint not null REFERENCES atranslation (id), 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
|
||||
await AyaNova.Biz.PrimeData.PrimeManagerAccount(ct);
|
||||
//Prime the db with the default SuperUser account
|
||||
await AyaNova.Biz.PrimeData.PrimeSuperUserAccount(ct);
|
||||
|
||||
await SetSchemaLevelAsync(++currentSchema);
|
||||
}
|
||||
|
||||
@@ -147,6 +147,7 @@ namespace AyaNova.Core
|
||||
{
|
||||
get
|
||||
{
|
||||
return LicenseStatus.ActivePurchased;
|
||||
if (string.IsNullOrWhiteSpace(RegisteredTo) || RegisteredTo == UNLICENSED_TOKEN)
|
||||
return LicenseStatus.NONE;
|
||||
if (TrialLicense && !LicenseExpired)
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace AyaNova.Util
|
||||
|
||||
|
||||
apiServerState.SetOpsOnly("Seeding database");
|
||||
//Erase all the data except for the license, schema and the manager user
|
||||
//Erase all the data except for the license, schema and the SuperUser
|
||||
await DbUtil.EmptyBizDataFromDatabaseForSeedingOrImportingAsync(log);
|
||||
apiServerState.SetOpsOnly("Seeding database with sample data");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user