Revert non-trivial schema changes and move them to a new schema version.

This commit is contained in:
Erik Johnston 2015-04-10 10:05:44 +01:00
parent 2ded344620
commit a1665c5094
19 changed files with 636 additions and 27 deletions

View file

@ -49,10 +49,10 @@ CREATE TABLE IF NOT EXISTS transaction_id_to_pdu(
transaction_id INTEGER,
destination VARCHAR(150),
pdu_id VARCHAR(150),
pdu_origin VARCHAR(150),
UNIQUE (transaction_id, destination)
pdu_origin VARCHAR(150)
);
CREATE INDEX IF NOT EXISTS transaction_id_to_pdu_tx ON transaction_id_to_pdu(transaction_id, destination)
CREATE INDEX IF NOT EXISTS transaction_id_to_pdu_dest ON transaction_id_to_pdu(destination);
-- To track destination health