about summary refs log tree commit diff
path: root/web/converse/migrations/2018-04-08-182319_add_authors/down.sql
diff options
context:
space:
mode:
Diffstat (limited to 'web/converse/migrations/2018-04-08-182319_add_authors/down.sql')
-rw-r--r--web/converse/migrations/2018-04-08-182319_add_authors/down.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/converse/migrations/2018-04-08-182319_add_authors/down.sql b/web/converse/migrations/2018-04-08-182319_add_authors/down.sql
new file mode 100644
index 000000000000..8ad817908065
--- /dev/null
+++ b/web/converse/migrations/2018-04-08-182319_add_authors/down.sql
@@ -0,0 +1,5 @@
+ALTER TABLE threads DROP COLUMN author_name;
+ALTER TABLE threads DROP COLUMN author_email;
+
+ALTER TABLE posts DROP COLUMN author_name;
+ALTER TABLE posts DROP COLUMN author_email;