This commit is contained in:
2020-09-22 20:29:56 +00:00
parent b29def1d18
commit 8b3abaa9b8
6 changed files with 71 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ namespace AyaNova.Util
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
private const int DESIRED_SCHEMA_LEVEL = 14;
internal const long EXPECTED_COLUMN_COUNT = 401;
internal const long EXPECTED_COLUMN_COUNT = 414;
internal const long EXPECTED_INDEX_COUNT = 142;
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
@@ -723,14 +723,28 @@ $BODY$;
{
LogUpdateMessage(log);
await ExecQueryAsync("CREATE TABLE areport (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name varchar(255) not null unique, active bool, " +
"notes text, roles integer not null, objecttype integer not null, template text, style text, jsprerender text, jshelpers text, rendertype integer not null )");
"notes text, roles integer not null, objecttype integer not null, template text, style text, jsprerender text, jshelpers text, rendertype integer not null, " +
"headertemplate text, footertemplate text, displayheaderfooter bool, paperformat integer not null, landscape bool, marginoptionsbottom text, " +
"marginoptionsleft text, marginoptionsright text, marginoptionstop text, pageranges text, prefercsspagesize bool, printbackground bool, scale decimal(19,4) )");
await SetSchemaLevelAsync(++currentSchema);
//Load the stock REPORT TEMPLATES
await AyaNova.Biz.PrimeData.PrimeReportTemplates();
}
// public string HeaderTemplate { get; set; }
// public string FooterTemplate { get; set; }
// public bool DisplayHeaderFooter { get; set; }
// public ReportPaperFormat PaperFormat { get; set; }
// public bool Landscape { get; set; }
// public string MarginOptionsBottom { get; set; }
// public string MarginOptionsLeft { get; set; }
// public string MarginOptionsRight { get; set; }
// public string MarginOptionsTop { get; set; }
// public string PageRanges { get; set; }
// public bool PreferCSSPageSize { get; set; }
// public bool PrintBackground { get; set; }
// public decimal Scale { get; set; }
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!

View File

@@ -5,7 +5,7 @@ namespace AyaNova.Util
/// </summary>
internal static class AyaNovaVersion
{
public const string VersionString = "8.0.0-alpha.18";
public const string VersionString = "8.0.0-alpha.19";
public const string FullNameAndVersion = "AyaNova server " + VersionString;
}//eoc
}//eons