This commit is contained in:
2021-05-25 16:49:51 +00:00
parent 00f9859864
commit aaa7641d21
4 changed files with 73 additions and 5 deletions

View File

@@ -743,7 +743,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
//TASK
await ExecQueryAsync("CREATE TABLE ataskgroupitem (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, taskgroupid BIGINT NOT NULL REFERENCES ataskgroup ON DELETE CASCADE, "
+ "displayorder INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL)");
+ "sequence INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL)");
//WORKORDER STATUS
await ExecQueryAsync("CREATE TABLE aworkorderstatus (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name TEXT NOT NULL UNIQUE, active BOOL NOT NULL, "