From 170788cd42cc54c81f2b3e49ee12626145afe687 Mon Sep 17 00:00:00 2001
From: Masaya Tojo <masaya@tojo.tokyo>
Date: Mon, 13 Mar 2023 00:16:52 +0900
Subject: Add article_id column to items table.

---
 revert/items.sql | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'revert/items.sql')

diff --git a/revert/items.sql b/revert/items.sql
index b36bf6b..c8cbcd5 100644
--- a/revert/items.sql
+++ b/revert/items.sql
@@ -1,7 +1,10 @@
--- Revert kakeibo:items from pg
+-- Deploy kakeibo:items to pg
+-- requires: schema
+-- requires: transactions
 
 BEGIN;
 
-DROP TABLE kakeibo.items;
+ALTER TABLE kakeibo.items
+  DROP COLUMN article_id;
 
 COMMIT;
-- 
cgit v1.2.3

