This commit is contained in:
2023-02-06 23:32:22 +00:00
parent 89085c93b8
commit d8b9729b2d
2 changed files with 5 additions and 1 deletions

View File

@@ -897,7 +897,7 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
+ "wiki TEXT, tags VARCHAR(255) ARRAY )");
await ExecQueryAsync("CREATE TABLE avendornotification (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, created TIMESTAMPTZ NOT NULL, vendorid BIGINT NOT NULL REFERENCES avendor(id), "
+ "vendordata TEXT, processed TIMESTAMPTZ, tags VARCHAR(255) ARRAY )");
+ "vendordata TEXT, processed TIMESTAMPTZ, tags VARCHAR(255) ARRAY )");
await ExecQueryAsync("CREATE TABLE apurchase (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, customerid BIGINT REFERENCES acustomer(id) ON DELETE CASCADE, regto TEXT NOT NULL, "
+ "vendorid BIGINT NOT NULL REFERENCES avendor(id), productid BIGINT REFERENCES aproduct(id), pgroup INTEGER NOT NULL DEFAULT 4, salesordernumber TEXT NOT NULL, "