This commit is contained in:
2021-01-07 00:10:04 +00:00
parent 0c8a808be5
commit 8f765a0149
2 changed files with 2 additions and 2 deletions

View File

@@ -881,7 +881,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, " +
"notes text, wiki text, customfields text, tags varchar(255) ARRAY, " +
"daterequested timestamp not null, customerid bigint not null references acustomer(id), unitid bigint null references aunit(id), WorkorderItemId bigint null references aworkorderitem(id), " +
"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 " +
")");