BEGIN; DROP INDEX IF EXISTS idx_letters_outgoing_revision_number; ALTER TABLE letters_outgoing DROP COLUMN IF EXISTS revision_number; COMMIT;