This commit is contained in:
2023-01-05 23:56:50 +00:00
parent 88786993bc
commit c0a09ff173
2 changed files with 10 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ namespace Sockeye.DataList
var RoleSet = BizRoles.GetRoleSet(DefaultListAType);
AllowedRoles = RoleSet.ReadFullRecord | RoleSet.Change;
DefaultColumns = new List<string>() { "licensecreated", "licenseregto", "licensecustomer", "LicenseFetchedOn", "licensetags" };
DefaultColumns = new List<string>() { "licensecreated", "licenseactive", "licenseregto", "licensecustomer", "LicenseFetchedOn", "licensetags" };
DefaultSortBy = new Dictionary<string, string>() { { "licensecreated", "-" } };
FieldDefinitions = new List<DataListFieldDefinition>();
/*
@@ -62,6 +62,14 @@ namespace Sockeye.DataList
IsRowId = true
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "Active",
FieldKey = "licenseactive",
UiFieldDataType = (int)UiFieldDataType.Bool,
SqlValueColumnName = "alicense.active"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "LicenseRegTo",

View File

@@ -22,7 +22,7 @@ namespace Sockeye.Util
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync WHEN NEW TABLES ADDED!!!!
private const int DESIRED_SCHEMA_LEVEL = 17;
internal const long EXPECTED_COLUMN_COUNT = 503;
internal const long EXPECTED_COLUMN_COUNT = 504;
internal const long EXPECTED_INDEX_COUNT = 74;
internal const long EXPECTED_CHECK_CONSTRAINTS = 240;
internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 32;