From 1c6642ef3ea7c6e4f4e1a90b07e1b60be6a7429b Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sun, 5 Mar 2023 12:57:14 +0900 Subject: Rename column of transactions from type to type_code. --- revert/transactions_type_code.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 revert/transactions_type_code.sql (limited to 'revert/transactions_type_code.sql') diff --git a/revert/transactions_type_code.sql b/revert/transactions_type_code.sql new file mode 100644 index 0000000..9e97209 --- /dev/null +++ b/revert/transactions_type_code.sql @@ -0,0 +1,7 @@ +-- Revert kakeibo:transactions_type_code from pg + +BEGIN; + +ALTER TABLE kakeibo.transactions RENAME COLUMN type_code to type; + +COMMIT; -- cgit v1.2.3