aboutsummaryrefslogtreecommitdiff
path: root/revert
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2023-03-05 23:35:09 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2023-03-05 23:35:09 +0900
commitb121761eb44b8fd8a8aee4e0945f6a7dcec9c719 (patch)
treede324810f40a472260e3dd170dc18c19fdd91091 /revert
parent3f999d647e972e4f7fd807832bc4544f7aaecede (diff)
Add article_id column to items table.
Diffstat (limited to 'revert')
-rw-r--r--revert/items_article_id.sql8
1 files changed, 8 insertions, 0 deletions
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;