Removed v7 import shit

This commit is contained in:
2020-05-01 01:00:39 +00:00
parent 026fa3a29c
commit bb10dc726d
15 changed files with 46 additions and 1241 deletions

View File

@@ -125,13 +125,13 @@ namespace AyaNova.Biz
/// <summary>
/// V7 import handler
/// Import needs to fixup event log CREATED entry to show original created and last modified times
/// V7 export handler
/// Exporter needs to fixup event log CREATED entry to show original created and last modified times
/// and users
/// </summary>
internal static async Task V7_Modify_LogAsync(AyaNova.Api.Controllers.EventLogController.V7Event ev, AyContext ct)
{
//delete the automatically created entry from the import object
//delete the automatically created entry from the exported object
await ct.Database.ExecuteSqlInterpolatedAsync($"delete from aevent where aytype = {ev.AyType} and ayid={ev.AyId}");
//Now create the entries to reflect the original data from v7