diff --git a/etc/db/upgrades/upgrade13-v0.3.1-drop-old-event-tables.sql b/etc/db/upgrades/upgrade13-v0.3.1-drop-old-event-tables.sql new file mode 100644 index 0000000..89ac042 --- /dev/null +++ b/etc/db/upgrades/upgrade13-v0.3.1-drop-old-event-tables.sql @@ -0,0 +1,99 @@ +-- Drop old event tables. +-- +-- New schema version: 0.3.1 +-- +-- ATTENTION: +-- +-- ENSURE YOU HAVE BACKED UP THE DATABASE BEFORE RUNNING THIS SCRIPT. +-- +-- +-- NOTE: This upgrade affects all schemas in the database. +-- NOTE: Each application starts a transaction, which must be committed +-- or rolled back. +-- +-- This completes the migration from the old event logging mechanism by +-- DROPPING THE OLD DATABASE OBJECTS, MAKING THE MIGRATION IRREVERSIBLE, +-- other than by restoring from backup and manually transferring any new +-- data that may have been created in the meanwhile. +-- +-- To apply, run as the dougal user: +-- +-- psql <