This commit is contained in:
@@ -617,7 +617,7 @@ namespace AyaNova.Api.Controllers
|
||||
await ct.Database.OpenConnectionAsync();
|
||||
cmd.CommandText = $@"select afileattachment.id, displayfilename,contenttype,lastmodified, afileattachment.notes, size, auser.name as attachedbyuser from afileattachment
|
||||
left join auser on (afileattachment.attachtoobjectid=auser.id)
|
||||
where attachtoatype={ayaType} and attachtoobjectid={ayaId}
|
||||
where attachtoatype={(int)ayaType} and attachtoobjectid={ayaId}
|
||||
order by displayfilename";
|
||||
|
||||
using (var dr = await cmd.ExecuteReaderAsync())
|
||||
|
||||
@@ -22,16 +22,16 @@ namespace AyaNova.Util
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync WHEN NEW TABLES ADDED!!!!
|
||||
private const int DESIRED_SCHEMA_LEVEL = 1;
|
||||
|
||||
internal const long EXPECTED_COLUMN_COUNT = 1359;
|
||||
internal const long EXPECTED_COLUMN_COUNT = 1360;
|
||||
internal const long EXPECTED_INDEX_COUNT = 156;
|
||||
internal const long EXPECTED_CHECK_CONSTRAINTS = 548;
|
||||
internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 201;
|
||||
internal const long EXPECTED_CHECK_CONSTRAINTS = 549;
|
||||
internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 202;
|
||||
internal const long EXPECTED_VIEWS = 11;
|
||||
internal const long EXPECTED_ROUTINES = 2;
|
||||
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImportingAsync WHEN NEW TABLES ADDED!!!!
|
||||
|
||||
///////////////////////////////////////// (C1359:I156:CC548:FC201:V11:R2)
|
||||
///////////////////////////////////////// C1360:I156:CC549:FC202:V11:R2
|
||||
|
||||
/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user