From ef056edf92b678265a4666e1f9405e3b0ce66a42 Mon Sep 17 00:00:00 2001
From: Nathan Perry <np@nathanperry.dev>
Date: Fri, 16 Aug 2024 21:14:30 -0400
Subject: repo: overhaul for multitenancy

---
 migrations/2024-08-16-230507_require_guild/down.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 migrations/2024-08-16-230507_require_guild/down.sql

(limited to 'migrations/2024-08-16-230507_require_guild/down.sql')

diff --git a/migrations/2024-08-16-230507_require_guild/down.sql b/migrations/2024-08-16-230507_require_guild/down.sql
new file mode 100644
index 0000000..e7191c8
--- /dev/null
+++ b/migrations/2024-08-16-230507_require_guild/down.sql
@@ -0,0 +1,6 @@
+ALTER TABLE memes
+    ALTER COLUMN guild DROP NOT NULL;
+ALTER TABLE invocation_records
+    ALTER COLUMN guild DROP NOT NULL;
+ALTER TABLE tombstones
+    ALTER COLUMN guild DROP NOT NULL;
-- 
cgit v1.3.1

