From 3f999d647e972e4f7fd807832bc4544f7aaecede Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Sun, 5 Mar 2023 23:31:51 +0900
Subject: Add article_id column to transactions table.

---
 revert/transactions_article_id.sql | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 revert/transactions_article_id.sql

(limited to 'revert/transactions_article_id.sql')

diff --git a/revert/transactions_article_id.sql b/revert/transactions_article_id.sql
new file mode 100644
index 0000000..ed98ba5
--- /dev/null
+++ b/revert/transactions_article_id.sql
@@ -0,0 +1,8 @@
+-- Revert kakeibo:transactions_article_id from pg
+
+BEGIN;
+
+ALTER TABLE kakeibo.transactions
+  DROP COLUMN article_id;
+
+COMMIT;
-- 
cgit v1.2.3

