diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2023-03-04 20:21:24 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2023-03-04 20:21:24 +0900 |
commit | 69ac90518f003895b8ffb6618b84b91ff4256308 (patch) | |
tree | a81c9562b8390afe2f0e5cebf06d019ab44e86ec /revert/transaction_type.sql | |
parent | 85aa0f7fa89cad0cd81af87336d7f9d31bb19422 (diff) |
Drop transaction_type.
Diffstat (limited to 'revert/transaction_type.sql')
-rw-r--r-- | revert/transaction_type.sql | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/revert/transaction_type.sql b/revert/transaction_type.sql index 00fd491..b29421f 100644 --- a/revert/transaction_type.sql +++ b/revert/transaction_type.sql @@ -1,7 +1,11 @@ --- Revert kakeibo:transaction_type from pg +-- Deploy kakeibo:transaction_type to pg +-- requires: appschema BEGIN; -DROP TYPE kakeibo.transaction_type; +CREATE TYPE kakeibo.transaction_type AS ENUM( + 'income', + 'outgo' +); COMMIT; |