Skip to content

Commit 18575f9

Browse files
authored
Consolidate bootstrap scripts 0.000-23.000 (#130)
1 parent 57706af commit 18575f9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

OConnor/resources/schemas/dbscripts/postgresql/oconnor-0.000-21.000.sql renamed to OConnor/resources/schemas/dbscripts/postgresql/oconnor-0.000-23.000.sql

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2195,4 +2195,10 @@ CREATE INDEX IDX_purchases_address ON oconnor.purchases(address);
21952195
CREATE INDEX IDX_purchases_status ON oconnor.purchases(status);
21962196
CREATE INDEX IDX_purchases_vendor ON oconnor.purchases(vendor);
21972197

2198-
CREATE INDEX IDX_quotes_vendor ON oconnor.quotes(vendor);
2198+
CREATE INDEX IDX_quotes_vendor ON oconnor.quotes(vendor);
2199+
2200+
/* 22.xxx SQL scripts */
2201+
2202+
ALTER TABLE oconnor.purchases ADD COLUMN IF NOT EXISTS pcard INT DEFAULT 0;
2203+
ALTER TABLE oconnor.quotes ADD COLUMN IF NOT EXISTS grant_id VARCHAR(255);
2204+
ALTER TABLE oconnor.vendors ADD COLUMN IF NOT EXISTS mds INT DEFAULT 0;

OConnor/resources/schemas/dbscripts/postgresql/oconnor-22.000-22.001.sql

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)