This commit is contained in:
2020-07-09 23:28:13 +00:00
parent edb3b28750
commit c1784f85ae
4 changed files with 54 additions and 6 deletions

View File

@@ -236,6 +236,9 @@ namespace AyaNova.Util
await ExecQueryAsync("CREATE TABLE aglobalopsbackupsettings (id integer NOT NULL PRIMARY KEY, active bool not null, " +
"backuptime timestamp, backupsetstokeep int, backupattachments bool)");
await ExecQueryAsync("CREATE TABLE aglobalopsnotificationsettings (id integer NOT NULL PRIMARY KEY, active bool not null, " +
"backuptime 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))");