From b121761eb44b8fd8a8aee4e0945f6a7dcec9c719 Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Sun, 5 Mar 2023 23:35:09 +0900
Subject: Add article_id column to items table.

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

(limited to 'revert/items_article_id.sql')

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

