DEV: Promote historic post-deploy migrations (#146)

DEV: Promote historic post-deploy migrations (#146)

diff --git a/db/migrate/20200409181607_remove_display_invitees.rb b/db/migrate/20200409181607_remove_display_invitees.rb
new file mode 100644
index 0000000..984dd3c
--- /dev/null
+++ b/db/migrate/20200409181607_remove_display_invitees.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class RemoveDisplayInvitees < ActiveRecord::Migration[6.0]
+  def up
+    remove_column :discourse_post_event_events, :display_invitees
+  end
+end
diff --git a/db/migrate/20200805073343_drop_old_discourse_calendar_tables.rb b/db/migrate/20200805073343_drop_old_discourse_calendar_tables.rb
new file mode 100644
index 0000000..9b69281
--- /dev/null
+++ b/db/migrate/20200805073343_drop_old_discourse_calendar_tables.rb
@@ -0,0 +1,19 @@
+# frozen_string_literal: true
+
+require 'migration/table_dropper'
+
+class DropOldDiscourseCalendarTables < ActiveRecord::Migration[6.0]
+  def up
+    if table_exists?(:discourse_calendar_post_events)
+      Migration::TableDropper.execute_drop(:discourse_calendar_post_events)
+    end
+
+    if table_exists?(:discourse_calendar_invitees)
+      Migration::TableDropper.execute_drop(:discourse_calendar_invitees)
+    end
+  end
+
+  def down
+    raise ActiveRecord::IrrelversibleMigration
+  end
+end
diff --git a/db/migrate/20200810190429_drop_reminders_table.rb b/db/migrate/20200810190429_drop_reminders_table.rb
new file mode 100644
index 0000000..56e87e7
--- /dev/null
+++ b/db/migrate/20200810190429_drop_reminders_table.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class DropRemindersTable < ActiveRecord::Migration[6.0]
+  def up
+    drop_table :discourse_post_event_reminders
+  end
+
+  def down
+    raise ActiveRecord::IrreversibleMigration
+  end
+end
diff --git a/db/post_migrate/20200409181607_remove_display_invitees.rb b/db/post_migrate/20200409181607_remove_display_invitees.rb
deleted file mode 100644
index 984dd3c..0000000
--- a/db/post_migrate/20200409181607_remove_display_invitees.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveDisplayInvitees < ActiveRecord::Migration[6.0]
-  def up
-    remove_column :discourse_post_event_events, :display_invitees
-  end
-end
diff --git a/db/post_migrate/20200805073343_drop_old_discourse_calendar_tables.rb b/db/post_migrate/20200805073343_drop_old_discourse_calendar_tables.rb
deleted file mode 100644
index 9b69281..0000000
--- a/db/post_migrate/20200805073343_drop_old_discourse_calendar_tables.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-require 'migration/table_dropper'
-
-class DropOldDiscourseCalendarTables < ActiveRecord::Migration[6.0]
-  def up
-    if table_exists?(:discourse_calendar_post_events)
-      Migration::TableDropper.execute_drop(:discourse_calendar_post_events)
-    end
-
-    if table_exists?(:discourse_calendar_invitees)
-      Migration::TableDropper.execute_drop(:discourse_calendar_invitees)
-    end
-  end
-
-  def down
-    raise ActiveRecord::IrrelversibleMigration
-  end
-end
diff --git a/db/post_migrate/20200810190429_drop_reminders_table.rb b/db/post_migrate/20200810190429_drop_reminders_table.rb
deleted file mode 100644
index 56e87e7..0000000
--- a/db/post_migrate/20200810190429_drop_reminders_table.rb
+++ /dev/null
@@ -1,11 +0,0 @@
-# frozen_string_literal: true
-
-class DropRemindersTable < ActiveRecord::Migration[6.0]
-  def up
-    drop_table :discourse_post_event_reminders
-  end
-
-  def down
-    raise ActiveRecord::IrreversibleMigration
-  end
-end

GitHub sha: 97534a6ec99607000f6706501c7846ffef6f9cac

This commit appears in #146 which was approved by CvX. It was merged by davidtaylorhq.