This commit is contained in:
@@ -897,6 +897,10 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
|||||||
+ "wiki TEXT, customfields TEXT, tags VARCHAR(255) ARRAY )");
|
+ "wiki TEXT, customfields TEXT, tags VARCHAR(255) ARRAY )");
|
||||||
|
|
||||||
|
|
||||||
|
await ExecQueryAsync("CREATE TABLE acase (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, caseid BIGINT GENERATED BY DEFAULT AS IDENTITY NOT NULL, "
|
||||||
|
+ "created TIMESTAMPTZ NOT NULL, closed TIMESTAMPTZ, title TEXT NOT NULL, notes TEXT, "
|
||||||
|
+ "wiki TEXT, customfields TEXT, tags VARCHAR(255) ARRAY )");
|
||||||
|
|
||||||
|
|
||||||
currentSchema = 16;
|
currentSchema = 16;
|
||||||
await SetSchemaLevelAsync(currentSchema);
|
await SetSchemaLevelAsync(currentSchema);
|
||||||
@@ -906,6 +910,12 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE rfcase (id INTEGER PRIMARY KEY, title text not null, rfcaseprojectid integer not null, priority integer default 3 NOT NULL CHECK (priority IN (1,2,3,4,5)),
|
||||||
|
notes text, dtcreated integer, dtclosed integer, releaseversion text, releasenotes text, FOREIGN KEY (rfcaseprojectid) REFERENCES rfcaseproject(id))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CREATE TABLE purchase (id INTEGER PRIMARY KEY, customer_id integer not null, site_id integer not null, name text not null, vendorName text,
|
CREATE TABLE purchase (id INTEGER PRIMARY KEY, customer_id integer not null, site_id integer not null, name text not null, vendorName text,
|
||||||
email text, productCode text, salesOrderNumber text, purchaseDate integer not null, expireDate integer, cancelDate integer, couponCode text,
|
email text, productCode text, salesOrderNumber text, purchaseDate integer not null, expireDate integer, cancelDate integer, couponCode text,
|
||||||
notes text, renewNoticeSent boolean default 0 NOT NULL CHECK (renewNoticeSent IN (0,1)), quantity integer default 1 not null,
|
notes text, renewNoticeSent boolean default 0 NOT NULL CHECK (renewNoticeSent IN (0,1)), quantity integer default 1 not null,
|
||||||
|
|||||||
Reference in New Issue
Block a user