aboutsummaryrefslogtreecommitdiff
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rw-r--r--deploy/transaction_types.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/deploy/transaction_types.sql b/deploy/transaction_types.sql
new file mode 100644
index 0000000..cf07925
--- /dev/null
+++ b/deploy/transaction_types.sql
@@ -0,0 +1,12 @@
+-- Deploy kakeibo:transaction_types to pg
+-- requires: schema
+
+BEGIN;
+
+CREATE TABLE kakeibo.transaction_types (
+ code INTEGER PRIMARY KEY,
+ name TEXT NOT NULL
+);
+INSERT INTO kakeibo.transaction_types VALUES (0, 'outgo'), (1, 'income');
+
+COMMIT;