-- 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 <