From 7598b08d170810570ff60d77fdb991673601e6b6 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 24 Sep 2006 02:11:06 +0000 Subject: Started the next db upgrade file. So far, I have set acc_trans.trans_id as a foreign key. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@138 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/Pg-upgrade-2.6.18-2.6.19.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 sql/Pg-upgrade-2.6.18-2.6.19.sql diff --git a/sql/Pg-upgrade-2.6.18-2.6.19.sql b/sql/Pg-upgrade-2.6.18-2.6.19.sql new file mode 100644 index 00000000..cf4abef2 --- /dev/null +++ b/sql/Pg-upgrade-2.6.18-2.6.19.sql @@ -0,0 +1 @@ +ALTER TABLE acc_trans ADD FOREIGN KEY trans_id REFERENCES transactions (id); -- cgit v1.2.3