This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -741,9 +741,9 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
|||||||
//TASKGROUP
|
//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)");
|
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, "
|
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
|
//WORKORDER STATUS
|
||||||
await ExecQueryAsync("CREATE TABLE aworkorderstatus (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name TEXT NOT NULL UNIQUE, active BOOL NOT NULL, "
|
await ExecQueryAsync("CREATE TABLE aworkorderstatus (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name TEXT NOT NULL UNIQUE, active BOOL NOT NULL, "
|
||||||
|
|||||||
Reference in New Issue
Block a user