2.1-2.2 upgrade script safety checks
Bug #996089 reported by
James Fournie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned |
Bug Description
OS: Ubuntu Lucid
DB: PG 9.1
EG: rel_2_2
Upgrade script contains this:
ALTER TABLE config.upgrade_log DROP COLUMN applied_to;
DROP FUNCTION evergreen.
DROP FUNCTION evergreen.
This produced errors on our upgrade. Instead I propose:
ALTER TABLE config.upgrade_log DROP COLUMN IF EXISTS applied_to;
DROP FUNCTION IF EXISTS evergreen.
DROP FUNCTION IF EXISTS evergreen.
Changed in evergreen: | |
importance: | Medium → High |
assignee: | nobody → Lebbeous Fogle-Weekley (lebbeous) |
status: | New → In Progress |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Pushed a patch to working/ user/jamesrf/ lp996089