This commit is contained in:
@@ -541,7 +541,9 @@ $BODY$;
|
||||
|
||||
//PROJECT
|
||||
await ExecQueryAsync("CREATE TABLE aproject (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name text not null unique, active bool, " +
|
||||
"notes text, wiki text, customfields text, tags varchar(255) ARRAY )");
|
||||
"notes text, wiki text, customfields text, tags varchar(255) ARRAY, " +
|
||||
"datestarted timestamp null, datecompleted timestamp null, projectoverseerid bigint null references auser(id), accountnumber text)");
|
||||
|
||||
await ExecQueryAsync("CREATE UNIQUE INDEX aproject_name_id_idx ON aproject (id, name);");
|
||||
await ExecQueryAsync("CREATE INDEX aproject_tags ON aproject using GIN(tags)");
|
||||
|
||||
|
||||
@@ -393,6 +393,8 @@ namespace AyaNova.Util
|
||||
|
||||
apiServerState.ResumePriorState();
|
||||
|
||||
_log.LogInformation("Database erase completed");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user