This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user