From 70304b1903cc5b1accd9caea229e59901384203a Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Tue, 28 Mar 2023 01:29:08 +0900
Subject: Add `kakeibo.` prefix.

---
 deploy/kakeibo.transactions@v1.0.0-alpha.1.sql | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 deploy/kakeibo.transactions@v1.0.0-alpha.1.sql

(limited to 'deploy/kakeibo.transactions@v1.0.0-alpha.1.sql')

diff --git a/deploy/kakeibo.transactions@v1.0.0-alpha.1.sql b/deploy/kakeibo.transactions@v1.0.0-alpha.1.sql
new file mode 100644
index 0000000..e37b276
--- /dev/null
+++ b/deploy/kakeibo.transactions@v1.0.0-alpha.1.sql
@@ -0,0 +1,15 @@
+-- Deploy kakeibo:transactions to pg
+-- requires: schema
+
+BEGIN;
+
+CREATE TABLE kakeibo.transactions (
+  id SERIAL PRIMARY KEY,
+  type_code INTEGER,
+  date DATE NOT NULL,
+  note TEXT,
+  created_at TIMESTAMP NOT NULL DEFAULT NOW(),
+  updated_at TIMESTAMP NOT NULL DEFAULT NOW()
+);
+
+COMMIT;
-- 
cgit v1.2.3

