This commit is contained in:
2021-01-07 00:22:55 +00:00
parent 8f765a0149
commit bf45c567b6
3 changed files with 498 additions and 1 deletions

View File

@@ -879,7 +879,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
//CUSTOMERSERVICEREQUEST
await ExecQueryAsync("CREATE TABLE acustomerservicerequest (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name text not null unique, active bool not null, " +
await ExecQueryAsync("CREATE TABLE acustomerservicerequest (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name text not null, active bool not null, " +
"notes text, wiki text, customfields text, tags varchar(255) ARRAY, " +
"daterequested timestamp not null, customerid bigint not null references acustomer(id), unitid bigint references aunit(id), WorkorderItemId bigint references aworkorderitem(id), " +
"requestedbyuserid bigint not null references auser(id), customerreferencenumber text, status integer not null, priority integer not null " +

View File

@@ -314,6 +314,7 @@ namespace AyaNova.Util
//REMOVE ALL REMAINING DATA
await EraseTableAsync("afileattachment", conn);
await EraseTableAsync("acustomerservicerequest", conn);
await EraseTableAsync("awidget", conn);
await EraseTableAsync("aevent", conn);
await EraseTableAsync("adatalistview", conn);