-- Revert kakeibo:transactions_type_code from pg BEGIN; ALTER TABLE kakeibo.transactions RENAME COLUMN type_code to type; COMMIT;