case 4504

This commit is contained in:
2023-04-15 19:12:20 +00:00
parent 5a791e30c5
commit e0c9ff6c93
2 changed files with 6 additions and 1 deletions

View File

@@ -1501,7 +1501,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
//SUBSCRIPTION
await ExecQueryAsync("CREATE TABLE asubscription (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, subsite TEXT NOT NULL, active BOOL NOT NULL, notes TEXT, "
+ "customerid BIGINT REFERENCES acustomer(id) ON DELETE CASCADE, pgroup INTEGER NOT NULL DEFAULT 4, tags VARCHAR(255) ARRAY )");
+ "customerid BIGINT REFERENCES acustomer(id) ON DELETE CASCADE, pgroup INTEGER NOT NULL DEFAULT 4, regto TEXT NOT NULL, fetchemail TEXT, dbid TEXT, tags VARCHAR(255) ARRAY )");
//SUBSCRIPTIONITEM
await ExecQueryAsync("CREATE TABLE asubscriptionitem (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, subscriptionid BIGINT NOT NULL REFERENCES asubscription ON DELETE CASCADE, "