diff --git a/server/AyaNova/Startup.cs b/server/AyaNova/Startup.cs index 58c11f3f..3671331e 100644 --- a/server/AyaNova/Startup.cs +++ b/server/AyaNova/Startup.cs @@ -408,7 +408,7 @@ namespace AyaNova // ******************** TESTING WIPE DB ***************************** // //Set this to true to wipe the db and reinstall a trial license and re-seed the data - var TESTING_REFRESH_DB = false;//####################################################################################### + var TESTING_REFRESH_DB = true;//####################################################################################### #if (DEBUG) diff --git a/server/AyaNova/util/Seeder.cs b/server/AyaNova/util/Seeder.cs index 13f9b3c8..ac54bcbd 100644 --- a/server/AyaNova/util/Seeder.cs +++ b/server/AyaNova/util/Seeder.cs @@ -529,6 +529,8 @@ namespace AyaNova.Util u.Roles = roles; u.LocaleId = localeId == 0 ? ServerBootConfig.AYANOVA_DEFAULT_LANGUAGE_ID : localeId; u.UserType = userType; + u.EmployeeNumber = (44 + SeededUserCount).ToString(); + u.Notes = Fake.Name.JobDescriptor(); //TODO: After have USER and HEADOFFICE and VENDOR, if usertype is subcontractor or client or headoffice it needs to set a corresponding user's parent org record id to go with it u.Tags = RandomTags(Fake); //Children and relations @@ -576,7 +578,7 @@ namespace AyaNova.Util o.Notes = f.Lorem.Paragraphs(); o.Tags = RandomTags(f); - o.UserId=f.Random.Int(1, SeededUserCount); + o.UserId = f.Random.Int(1, SeededUserCount); //RANDOM CUSTOM FIELD DATA var c1 = DateUtil.UniversalISO8661Format(f.Date.Between(DateTime.Now.AddYears(-1), DateTime.Now.AddYears(1)));