A platform for community discussion. Free, open, simple.
DEV: Promote historic post_deploy migrations (#19492)
Bianca Nenciuc358151a6ce2
diff --git a/db/post_migrate/20210513125608_remove_length_constrain_from_topic_excerpt.rb b/db/migrate/20210513125608_remove_length_constrain_from_topic_excerpt.rbsimilarity index 100%rename from db/post_migrate/20210513125608_remove_length_constrain_from_topic_excerpt.rbrename to db/migrate/20210513125608_remove_length_constrain_from_topic_excerpt.rbdiff --git a/db/post_migrate/20210525112226_remove_length_constrain_from_topic_link_url.rb b/db/migrate/20210525112226_remove_length_constrain_from_topic_link_url.rbsimilarity index 100%rename from db/post_migrate/20210525112226_remove_length_constrain_from_topic_link_url.rbrename to db/migrate/20210525112226_remove_length_constrain_from_topic_link_url.rbdiff --git a/db/post_migrate/20210528003603_fix_badge_image_avatar_upload_security_and_acls.rb b/db/migrate/20210528003603_fix_badge_image_avatar_upload_security_and_acls.rbsimilarity index 100%rename from db/post_migrate/20210528003603_fix_badge_image_avatar_upload_security_and_acls.rbrename to db/migrate/20210528003603_fix_badge_image_avatar_upload_security_and_acls.rbdiff --git a/db/post_migrate/20210621234939_backfill_email_log_topic_id.rb b/db/migrate/20210621234939_backfill_email_log_topic_id.rbsimilarity index 100%rename from db/post_migrate/20210621234939_backfill_email_log_topic_id.rbrename to db/migrate/20210621234939_backfill_email_log_topic_id.rbdiff --git a/db/post_migrate/20210624023831_remove_highest_seen_post_number_from_topic_users.rb b/db/migrate/20210624023831_remove_highest_seen_post_number_from_topic_users.rbsimilarity index 100%rename from db/post_migrate/20210624023831_remove_highest_seen_post_number_from_topic_users.rbrename to db/migrate/20210624023831_remove_highest_seen_post_number_from_topic_users.rbdiff --git a/db/post_migrate/20210628035905_drop_duration_column_from_topic_timers.rb b/db/migrate/20210628035905_drop_duration_column_from_topic_timers.rbsimilarity index 100%rename from db/post_migrate/20210628035905_drop_duration_column_from_topic_timers.rbrename to db/migrate/20210628035905_drop_duration_column_from_topic_timers.rbdiff --git a/db/post_migrate/20210706091905_drop_disable_jump_reply_column_from_user_options.rb b/db/migrate/20210706091905_drop_disable_jump_reply_column_from_user_options.rbsimilarity index 100%rename from db/post_migrate/20210706091905_drop_disable_jump_reply_column_from_user_options.rbrename to db/migrate/20210706091905_drop_disable_jump_reply_column_from_user_options.rbdiff --git a/db/post_migrate/20210709053030_drop_uploads_verified.rb b/db/migrate/20210709053030_drop_uploads_verified.rbsimilarity index 100%rename from db/post_migrate/20210709053030_drop_uploads_verified.rbrename to db/migrate/20210709053030_drop_uploads_verified.rbdiff --git a/db/post_migrate/20210802131421_remove_post_processed_trigger_option.rb b/db/migrate/20210802131421_remove_post_processed_trigger_option.rbsimilarity index 100%rename from db/post_migrate/20210802131421_remove_post_processed_trigger_option.rbrename to db/migrate/20210802131421_remove_post_processed_trigger_option.rbdiff --git a/db/post_migrate/20210909041448_make_topic_id_nullable_for_bookmarks.rb b/db/migrate/20210909041448_make_topic_id_nullable_for_bookmarks.rbsimilarity index 100%rename from db/post_migrate/20210909041448_make_topic_id_nullable_for_bookmarks.rbrename to db/migrate/20210909041448_make_topic_id_nullable_for_bookmarks.rbdiff --git a/db/post_migrate/20210922064213_alter_bumped_at_indexes_on_topics.rb b/db/migrate/20210922064213_alter_bumped_at_indexes_on_topics.rbsimilarity index 100%rename from db/post_migrate/20210922064213_alter_bumped_at_indexes_on_topics.rbrename to db/migrate/20210922064213_alter_bumped_at_indexes_on_topics.rbdiff --git a/db/post_migrate/20211019152356_populate_pending_posts_count_column.rb b/db/migrate/20211019152356_populate_pending_posts_count_column.rbsimilarity index 100%rename from db/post_migrate/20211019152356_populate_pending_posts_count_column.rbrename to db/migrate/20211019152356_populate_pending_posts_count_column.rbdiff --git a/db/post_migrate/20211124161346_queue_internal_onebox_rebake.rb b/db/migrate/20211124161346_queue_internal_onebox_rebake.rbsimilarity index 100%rename from db/post_migrate/20211124161346_queue_internal_onebox_rebake.rbrename to db/migrate/20211124161346_queue_internal_onebox_rebake.rbdiff --git a/db/post_migrate/20211201221028_migrate_email_to_normalized_email.rb b/db/migrate/20211201221028_migrate_email_to_normalized_email.rbsimilarity index 100%rename from db/post_migrate/20211201221028_migrate_email_to_normalized_email.rbrename to db/migrate/20211201221028_migrate_email_to_normalized_email.rbdiff --git a/db/post_migrate/20211206160212_drop_token_from_email_tokens.rb b/db/migrate/20211206160212_drop_token_from_email_tokens.rbsimilarity index 100%rename from db/post_migrate/20211206160212_drop_token_from_email_tokens.rbrename to db/migrate/20211206160212_drop_token_from_email_tokens.rbdiff --git a/db/post_migrate/20211224010204_drop_old_bookmark_columns.rb b/db/migrate/20211224010204_drop_old_bookmark_columns.rbsimilarity index 100%rename from db/post_migrate/20211224010204_drop_old_bookmark_columns.rbrename to db/migrate/20211224010204_drop_old_bookmark_columns.rbdiff --git a/script/promote_migrations b/script/promote_migrationsindex be247a90839..2aed064ada3 100755--- a/script/promote_migrations+++ b/script/promote_migrations@@ -48,8 +48,7 @@ puts "Current stable version is #{current_stable_version}"minor = current_stable_version[/^(v\d+\.\d+)\./, 1]-previous_stable_version =- run "git describe --abbrev=0 --match 'v*' --exclude '#{minor}*' origin/stable"+previous_stable_version = "#{minor}.0"puts "Previous stable version is #{previous_stable_version}"stable_post_migrate_filenames =