]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0252.schema.query-negation.sql
Add default Vandelay match set to schema
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0252.schema.query-negation.sql
1 BEGIN;
2
3 INSERT INTO config.upgrade_log (version) VALUES ('0252'); -- Scott McKellar
4
5 ALTER TABLE query.expression
6         ADD COLUMN negate BOOL NOT NULL DEFAULT FALSE;
7
8 COMMIT;
9
10 -- The following DROPs will fail if the views being dropped don't exist,
11 -- and that's okay.  That's why they're outside of the BEGIN/COMMIT.
12
13 DROP VIEW query.expr_xnbet;
14
15 DROP VIEW query.expr_xnex;
16
17 DROP VIEW query.expr_xnin;
18