diff --git a/OConnor/resources/schemas/dbscripts/postgresql/oconnor-0.000-21.000.sql b/OConnor/resources/schemas/dbscripts/postgresql/oconnor-0.000-23.000.sql similarity index 99% rename from OConnor/resources/schemas/dbscripts/postgresql/oconnor-0.000-21.000.sql rename to OConnor/resources/schemas/dbscripts/postgresql/oconnor-0.000-23.000.sql index 6d2c8570..742bd1eb 100644 --- a/OConnor/resources/schemas/dbscripts/postgresql/oconnor-0.000-21.000.sql +++ b/OConnor/resources/schemas/dbscripts/postgresql/oconnor-0.000-23.000.sql @@ -2195,4 +2195,10 @@ CREATE INDEX IDX_purchases_address ON oconnor.purchases(address); CREATE INDEX IDX_purchases_status ON oconnor.purchases(status); CREATE INDEX IDX_purchases_vendor ON oconnor.purchases(vendor); -CREATE INDEX IDX_quotes_vendor ON oconnor.quotes(vendor); \ No newline at end of file +CREATE INDEX IDX_quotes_vendor ON oconnor.quotes(vendor); + +/* 22.xxx SQL scripts */ + +ALTER TABLE oconnor.purchases ADD COLUMN IF NOT EXISTS pcard INT DEFAULT 0; +ALTER TABLE oconnor.quotes ADD COLUMN IF NOT EXISTS grant_id VARCHAR(255); +ALTER TABLE oconnor.vendors ADD COLUMN IF NOT EXISTS mds INT DEFAULT 0; \ No newline at end of file diff --git a/OConnor/resources/schemas/dbscripts/postgresql/oconnor-22.000-22.001.sql b/OConnor/resources/schemas/dbscripts/postgresql/oconnor-22.000-22.001.sql deleted file mode 100644 index ca1f77e0..00000000 --- a/OConnor/resources/schemas/dbscripts/postgresql/oconnor-22.000-22.001.sql +++ /dev/null @@ -1,3 +0,0 @@ -ALTER TABLE oconnor.purchases ADD COLUMN IF NOT EXISTS pcard INT DEFAULT 0; -ALTER TABLE oconnor.quotes ADD COLUMN IF NOT EXISTS grant_id VARCHAR(255); -ALTER TABLE oconnor.vendors ADD COLUMN IF NOT EXISTS mds INT DEFAULT 0;