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

@@ -23,6 +23,11 @@ namespace Sockeye.Models
[NotMapped]
public string CustomerViz { get; set; }
public string RegTo { get; set; }
public string FetchEmail { get; set; }//v7 && v8 uses for notification, v7 uses for fetching manually in UI
public string DbId { get; set; }//v8 uses
public string Notes { get; set; }
public List<string> Tags { get; set; }

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, "