Skip to content

A platform for community discussion. Free, open, simple.

DEV: Promote historic post_deploy migrations

Loïc Guitaut25138db4339b
diff --git a/db/post_migrate/20220202223955_migrate_selectable_avatars_enabled.rb b/db/migrate/20220202223955_migrate_selectable_avatars_enabled.rb
similarity index 100%
rename from db/post_migrate/20220202223955_migrate_selectable_avatars_enabled.rb
rename to db/migrate/20220202223955_migrate_selectable_avatars_enabled.rb
diff --git a/db/post_migrate/20220214224506_reset_custom_emoji_post_bakes_version_secure_fix.rb b/db/migrate/20220214224506_reset_custom_emoji_post_bakes_version_secure_fix.rb
similarity index 100%
rename from db/post_migrate/20220214224506_reset_custom_emoji_post_bakes_version_secure_fix.rb
rename to db/migrate/20220214224506_reset_custom_emoji_post_bakes_version_secure_fix.rb
diff --git a/db/post_migrate/20220215015538_drop_user_stat_count_constraints.rb b/db/migrate/20220215015538_drop_user_stat_count_constraints.rb
similarity index 100%
rename from db/post_migrate/20220215015538_drop_user_stat_count_constraints.rb
rename to db/migrate/20220215015538_drop_user_stat_count_constraints.rb
diff --git a/db/post_migrate/20220220234155_conform_bounce_error_code.rb b/db/migrate/20220220234155_conform_bounce_error_code.rb
similarity index 100%
rename from db/post_migrate/20220220234155_conform_bounce_error_code.rb
rename to db/migrate/20220220234155_conform_bounce_error_code.rb
diff --git a/db/post_migrate/20220302171443_rebake_old_avatar_service_urls.rb b/db/migrate/20220302171443_rebake_old_avatar_service_urls.rb
similarity index 100%
rename from db/post_migrate/20220302171443_rebake_old_avatar_service_urls.rb
rename to db/migrate/20220302171443_rebake_old_avatar_service_urls.rb
diff --git a/db/post_migrate/20220309132720_copy_post_uploads_to_upload_references_for_sync.rb b/db/migrate/20220309132720_copy_post_uploads_to_upload_references_for_sync.rb
similarity index 100%
rename from db/post_migrate/20220309132720_copy_post_uploads_to_upload_references_for_sync.rb
rename to db/migrate/20220309132720_copy_post_uploads_to_upload_references_for_sync.rb
diff --git a/db/post_migrate/20220325064954_make_some_bookmark_columns_nullable.rb b/db/migrate/20220325064954_make_some_bookmark_columns_nullable.rb
similarity index 100%
rename from db/post_migrate/20220325064954_make_some_bookmark_columns_nullable.rb
rename to db/migrate/20220325064954_make_some_bookmark_columns_nullable.rb
diff --git a/db/post_migrate/20220401140745_drop_category_required_tag_group_columns.rb b/db/migrate/20220401140745_drop_category_required_tag_group_columns.rb
similarity index 100%
rename from db/post_migrate/20220401140745_drop_category_required_tag_group_columns.rb
rename to db/migrate/20220401140745_drop_category_required_tag_group_columns.rb
diff --git a/db/post_migrate/20220429164301_delete_hotlinked_image_custom_fields.rb b/db/migrate/20220429164301_delete_hotlinked_image_custom_fields.rb
similarity index 100%
rename from db/post_migrate/20220429164301_delete_hotlinked_image_custom_fields.rb
rename to db/migrate/20220429164301_delete_hotlinked_image_custom_fields.rb
diff --git a/db/post_migrate/20220512011531_backfill_polymorphic_bookmarks.rb b/db/migrate/20220512011531_backfill_polymorphic_bookmarks.rb
similarity index 100%
rename from db/post_migrate/20220512011531_backfill_polymorphic_bookmarks.rb
rename to db/migrate/20220512011531_backfill_polymorphic_bookmarks.rb
diff --git a/db/post_migrate/20220617151846_rename_default_categories_regular_setting.rb b/db/migrate/20220617151846_rename_default_categories_regular_setting.rb
similarity index 100%
rename from db/post_migrate/20220617151846_rename_default_categories_regular_setting.rb
rename to db/migrate/20220617151846_rename_default_categories_regular_setting.rb
diff --git a/db/post_migrate/20220621164914_drop_flair_url_from_groups.rb b/db/migrate/20220621164914_drop_flair_url_from_groups.rb
similarity index 100%
rename from db/post_migrate/20220621164914_drop_flair_url_from_groups.rb
rename to db/migrate/20220621164914_drop_flair_url_from_groups.rb
diff --git a/db/post_migrate/20220825005115_backfill_outbound_message_id.rb b/db/migrate/20220825005115_backfill_outbound_message_id.rb
similarity index 100%
rename from db/post_migrate/20220825005115_backfill_outbound_message_id.rb
rename to db/migrate/20220825005115_backfill_outbound_message_id.rb
diff --git a/db/post_migrate/20221026035440_security_log_out_invite_redemption_invited_users.rb b/db/migrate/20221026035440_security_log_out_invite_redemption_invited_users.rb
similarity index 100%
rename from db/post_migrate/20221026035440_security_log_out_invite_redemption_invited_users.rb
rename to db/migrate/20221026035440_security_log_out_invite_redemption_invited_users.rb
diff --git a/db/post_migrate/20221108032233_drop_old_bookmark_columns_v2.rb b/db/migrate/20221108032233_drop_old_bookmark_columns_v2.rb
similarity index 100%
rename from db/post_migrate/20221108032233_drop_old_bookmark_columns_v2.rb
rename to db/migrate/20221108032233_drop_old_bookmark_columns_v2.rb
diff --git a/db/post_migrate/20221212234948_drop_topic_allowed_users_backup_nov_2022.rb b/db/migrate/20221212234948_drop_topic_allowed_users_backup_nov_2022.rb
similarity index 100%
rename from db/post_migrate/20221212234948_drop_topic_allowed_users_backup_nov_2022.rb
rename to db/migrate/20221212234948_drop_topic_allowed_users_backup_nov_2022.rb
diff --git a/plugins/chat/db/post_migrate/20220321235638_drop_chat_message_post_connections_table.rb b/plugins/chat/db/migrate/20220321235638_drop_chat_message_post_connections_table.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20220321235638_drop_chat_message_post_connections_table.rb
rename to plugins/chat/db/migrate/20220321235638_drop_chat_message_post_connections_table.rb
diff --git a/plugins/chat/db/post_migrate/20220504080457_drop_old_chat_message_post_id_action_code_columns.rb b/plugins/chat/db/migrate/20220504080457_drop_old_chat_message_post_id_action_code_columns.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20220504080457_drop_old_chat_message_post_id_action_code_columns.rb
rename to plugins/chat/db/migrate/20220504080457_drop_old_chat_message_post_id_action_code_columns.rb
diff --git a/plugins/chat/db/post_migrate/20220516142658_remove_email_statuses_table.rb b/plugins/chat/db/migrate/20220516142658_remove_email_statuses_table.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20220516142658_remove_email_statuses_table.rb
rename to plugins/chat/db/migrate/20220516142658_remove_email_statuses_table.rb
diff --git a/plugins/chat/db/post_migrate/20220518180642_remove_user_option_last_emailed_at.rb b/plugins/chat/db/migrate/20220518180642_remove_user_option_last_emailed_at.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20220518180642_remove_user_option_last_emailed_at.rb
rename to plugins/chat/db/migrate/20220518180642_remove_user_option_last_emailed_at.rb
diff --git a/plugins/chat/db/post_migrate/20220526135414_remove_corrupted_last_read_message_id.rb b/plugins/chat/db/migrate/20220526135414_remove_corrupted_last_read_message_id.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20220526135414_remove_corrupted_last_read_message_id.rb
rename to plugins/chat/db/migrate/20220526135414_remove_corrupted_last_read_message_id.rb
diff --git a/plugins/chat/db/post_migrate/20220531105951_drop_user_chat_channel_last_reads.rb b/plugins/chat/db/migrate/20220531105951_drop_user_chat_channel_last_reads.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20220531105951_drop_user_chat_channel_last_reads.rb
rename to plugins/chat/db/migrate/20220531105951_drop_user_chat_channel_last_reads.rb
diff --git a/plugins/chat/db/post_migrate/20220630074200_drop_chat_isolated_from_user_options.rb b/plugins/chat/db/migrate/20220630074200_drop_chat_isolated_from_user_options.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20220630074200_drop_chat_isolated_from_user_options.rb
rename to plugins/chat/db/migrate/20220630074200_drop_chat_isolated_from_user_options.rb
diff --git a/plugins/chat/db/post_migrate/20220701195731_convert_chatable_topics_to_categories.rb b/plugins/chat/db/migrate/20220701195731_convert_chatable_topics_to_categories.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20220701195731_convert_chatable_topics_to_categories.rb
rename to plugins/chat/db/migrate/20220701195731_convert_chatable_topics_to_categories.rb
diff --git a/plugins/chat/db/post_migrate/20221004122254_delete_reviewables_targetting_deleted_chat_messages.rb b/plugins/chat/db/migrate/20221004122254_delete_reviewables_targetting_deleted_chat_messages.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20221004122254_delete_reviewables_targetting_deleted_chat_messages.rb
rename to plugins/chat/db/migrate/20221004122254_delete_reviewables_targetting_deleted_chat_messages.rb
diff --git a/plugins/chat/db/post_migrate/20221018091412_migrate_chat_channels.rb b/plugins/chat/db/migrate/20221018091412_migrate_chat_channels.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20221018091412_migrate_chat_channels.rb
rename to plugins/chat/db/migrate/20221018091412_migrate_chat_channels.rb
diff --git a/plugins/chat/db/post_migrate/20221027090832_migrate_dm_channels.rb b/plugins/chat/db/migrate/20221027090832_migrate_dm_channels.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20221027090832_migrate_dm_channels.rb
rename to plugins/chat/db/migrate/20221027090832_migrate_dm_channels.rb
diff --git a/plugins/chat/db/post_migrate/20221104054957_backfill_channel_slugs.rb b/plugins/chat/db/migrate/20221104054957_backfill_channel_slugs.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20221104054957_backfill_channel_slugs.rb
rename to plugins/chat/db/migrate/20221104054957_backfill_channel_slugs.rb
diff --git a/plugins/chat/db/post_migrate/20221117052348_truncate_chat_messages_over_max_length.rb b/plugins/chat/db/migrate/20221117052348_truncate_chat_messages_over_max_length.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20221117052348_truncate_chat_messages_over_max_length.rb
rename to plugins/chat/db/migrate/20221117052348_truncate_chat_messages_over_max_length.rb
diff --git a/plugins/chat/db/post_migrate/20221117142910_delete_orphaned_channels.rb b/plugins/chat/db/migrate/20221117142910_delete_orphaned_channels.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20221117142910_delete_orphaned_channels.rb
rename to plugins/chat/db/migrate/20221117142910_delete_orphaned_channels.rb
diff --git a/plugins/chat/db/post_migrate/20221201032830_drop_tmp_chat_slug_tables.rb b/plugins/chat/db/migrate/20221201032830_drop_tmp_chat_slug_tables.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20221201032830_drop_tmp_chat_slug_tables.rb
rename to plugins/chat/db/migrate/20221201032830_drop_tmp_chat_slug_tables.rb
diff --git a/plugins/chat/db/post_migrate/20221202043755_update_chat_channel_message_counts.rb b/plugins/chat/db/migrate/20221202043755_update_chat_channel_message_counts.rb
similarity index 100%
rename from plugins/chat/db/post_migrate/20221202043755_update_chat_channel_message_counts.rb
rename to plugins/chat/db/migrate/20221202043755_update_chat_channel_message_counts.rb