USE billing; ALTER TABLE billing.journals DROP KEY txid_idx, ADD UNIQUE KEY txid_idx (tx_id);