diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-11-29 20:07:09 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-11-29 20:07:09 +0000 |
commit | 81afc95f60b3f9195aefb0452056463599a1be24 (patch) | |
tree | 7b3946c9e12c4fec0012c22fe438f66179bf95b5 /sql | |
parent | d98a1d1bfeb567ba9159e612cfb0211246ae0a57 (diff) |
Add in the changes for the status table
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1919 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql')
-rw-r--r-- | sql/fixes/recurring_pkey_duplicate.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/fixes/recurring_pkey_duplicate.sql b/sql/fixes/recurring_pkey_duplicate.sql index 9c30a0c7..23e11ea6 100644 --- a/sql/fixes/recurring_pkey_duplicate.sql +++ b/sql/fixes/recurring_pkey_duplicate.sql @@ -2,8 +2,12 @@ -- tables. The original primary keys are too restrictive and go against -- how the application works in that they don't allow for printing or -- emailing multiple forms as part of a recurring transaction. +-- +-- Related adjustments also are made to the status table. ALTER TABLE recurringemail DROP CONSTRAINT recurringemail_pkey; ALTER TABLE recurringemail ADD PRIMARY KEY (id, formname); ALTER TABLE recurringprint DROP CONSTRAINT recurringprint_pkey; ALTER TABLE recurringprint ADD PRIMARY KEY (id, formname); +ALTER TABLE status DROP CONSTRAINT status_pkey; +ALTER TABLE status ADD PRIMARY KEY (trans_id, formname); |