summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 02:11:06 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-09-24 02:11:06 +0000
commit7598b08d170810570ff60d77fdb991673601e6b6 (patch)
tree6cdf8e429d3e214020267a0f5b33d7b21ece493b
parent79b9272f11148755c0da2cd158738b32257fdfb3 (diff)
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
-rw-r--r--sql/Pg-upgrade-2.6.18-2.6.19.sql1
1 files changed, 1 insertions, 0 deletions
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);