diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2023-03-05 12:57:14 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2023-03-05 12:57:14 +0900 |
commit | 1c6642ef3ea7c6e4f4e1a90b07e1b60be6a7429b (patch) | |
tree | 4a7203f092a8658b9a0bd0b643f4441201111df8 /revert/transactions_type_code.sql | |
parent | 4b552c58f5988d1af18ef34ccec5979081c3bc14 (diff) |
Rename column of transactions from type to type_code.
Diffstat (limited to 'revert/transactions_type_code.sql')
-rw-r--r-- | revert/transactions_type_code.sql | 7 |
1 files changed, 7 insertions, 0 deletions
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; |