This commit is contained in:
2020-05-19 17:23:19 +00:00
parent dcd312b119
commit dd6fb84bd4
3 changed files with 18 additions and 9 deletions

View File

@@ -142,6 +142,10 @@ namespace AyaNova.Util
await ExecQueryAsync("CREATE TABLE aglobalbizsettings (id integer NOT NULL PRIMARY KEY, " +
"searchcasesensitiveonly bool default false)");
//create global ops settings table
await ExecQueryAsync("CREATE TABLE aglobalopssettings (id integer NOT NULL PRIMARY KEY, " +
"backuptime timestamp, lastbackup timestamp, backupsetstokeep int, backupattachments bool)");
//create aevent biz event log table
await ExecQueryAsync("CREATE TABLE aevent (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, created timestamp not null, userid bigint not null," +
"ayid bigint not null, ayatype integer not null, ayevent integer not null, textra varchar(255))");