diff options
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, |