This commit is contained in:
2021-05-25 16:56:33 +00:00
parent aaa7641d21
commit dbffcf126b
2 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@@ -741,9 +741,9 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
//TASKGROUP
await ExecQueryAsync("CREATE TABLE ataskgroup (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name TEXT NOT NULL UNIQUE, active BOOL NOT NULL, notes TEXT)");
//TASK
//TASKGROUPITEM
await ExecQueryAsync("CREATE TABLE ataskgroupitem (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, taskgroupid BIGINT NOT NULL REFERENCES ataskgroup ON DELETE CASCADE, "
+ "sequence INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL)");
+ "sequence INTEGER NOT NULL DEFAULT 0, task 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, "