From 534a54ef758736c680274cab13ecef0512354d37 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Thu, 27 May 2021 20:14:29 +0200 Subject: [PATCH] Add database upgrade file 05 --- .../upgrade05-3d70a460→0983abac.sql | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 etc/db/upgrades/upgrade05-3d70a460→0983abac.sql diff --git a/etc/db/upgrades/upgrade05-3d70a460→0983abac.sql b/etc/db/upgrades/upgrade05-3d70a460→0983abac.sql new file mode 100644 index 0000000..48b5b9e --- /dev/null +++ b/etc/db/upgrades/upgrade05-3d70a460→0983abac.sql @@ -0,0 +1,33 @@ +-- Upgrade the database from commit 3d70a460 to 0983abac. +-- +-- NOTE: This upgrade must be applied to every schema in the database. +-- NOTE: Each application starts a transaction, which must be committed +-- or rolled back. +-- +-- This: +-- +-- * makes the primary key on planned_lines deferrable; and +-- * changes the planned_lines trigger from statement to row. +-- +-- To apply, run as the dougal user, for every schema in the database: +-- +-- psql <