diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-15 14:50:28 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-09-15 14:50:28 +0000 |
commit | 14d2fffe3a4e31734c257d99d73de2b80128112a (patch) | |
tree | cc2454ec4c1336a853a06cf842566f7e154bad4a /sql | |
parent | be9f7146e9e9ecad28c8cdd569b2245913700fd8 (diff) |
Added the foreign key constraint to pg_tables too...
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@100 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql')
-rwxr-xr-x | sql/Pg-tables.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/Pg-tables.sql b/sql/Pg-tables.sql index 1490acfc..831c353d 100755 --- a/sql/Pg-tables.sql +++ b/sql/Pg-tables.sql @@ -74,7 +74,7 @@ INSERT INTO defaults (version) VALUES ('2.6.17'); -- CREATE TABLE acc_trans ( trans_id int, - chart_id int NOT NULL, + chart_id int NOT NULL REFERENCES chart (id), amount numeric(10,2), transdate date DEFAULT current_date, source text, |