discourse/db/post_migrate
Martin Brennan 18da1d5b07
FIX: Topic timer duration_minutes was not backfilled correctly (#12004)
Because of a where clause of duration_minutes != duration, where
duration_minutes was NULL, the previous migration to fill the new
duration_minutes column failed. This corrects the failed migration
by just running the update where duration_minutes is NULL and duration
IS NOT NULL.

Previous commit is 4af77f1
2021-02-08 09:33:08 +10:00
..
20180917024729_remove_superfluous_columns.rb FIX: Create readonly functions during backup 2019-08-09 11:39:46 +02:00
20180917034056_remove_superfluous_tables.rb FIX: Create readonly functions during backup 2019-08-09 11:39:46 +02:00
20181012123001_drop_group_locked_trust_level_from_user.rb FIX: Create readonly functions during backup 2019-08-09 11:39:46 +02:00
20181112013117_migrate_url_site_settings.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
20190103065652_remove_uploaded_meta_id_from_category.rb FIX: Create readonly functions during backup 2019-08-09 11:39:46 +02:00
20190121203023_drop_queued_post_id_from_user_actions.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
20190123171817_drop_queued_posts.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
20190205104116_drop_unused_auth_tables.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
20190208144706_drop_unused_auth_tables_again.rb FIX: Create readonly functions during backup 2019-08-09 11:39:46 +02:00
20190312194528_drop_email_user_options_columns.rb FIX: Create readonly functions during backup 2019-08-09 11:39:46 +02:00
20190508141824_drop_claimed_by_id.rb Make rubocop happy. 2019-05-13 09:55:44 +08:00
20190716124050_remove_via_email_from_invite.rb FIX: Create readonly functions during backup 2019-08-09 11:39:46 +02:00
20191107032231_change_notification_level.rb FEATURE: Dismiss new per category (#8330) 2019-11-14 11:16:13 +11:00
20191107190330_remove_suppress_from_latest_from_category.rb FIX: do not insert conflict rows into category user 2019-11-19 12:23:11 +11:00
20191129144706_drop_unused_google_instagram_auth_tables.rb DEV: Drop unused google and instagram auth_info tables 2019-11-29 16:28:39 +00:00
20191219112000_remove_key_from_api_keys.rb DEV: Drop unused api_keys.key column 2019-12-19 11:21:49 +00:00
20200117174646_make_post_reply_id_column_read_only.rb FIX: Don't cause exceptions due to rename of `reply_id` column 2020-01-17 19:43:00 +01:00
20200120131338_drop_unused_columns.rb DEV: Drop unused columns 2020-01-27 15:28:56 +01:00
20200330233427_drop_old_unread_pm_notification_indices.rb FEATURE: High priority bookmark reminder notifications (#9290) 2020-04-01 09:09:20 +10:00
20200408121312_remove_key_from_user_api_key.rb DEV: Drop 'key' column from user_api_keys (#9388) 2020-04-22 12:13:19 +03:00
20200415140830_drop_automatic_membership_retroactive_from_group.rb UX: drop the `automatic_membership_retroactive` column from groups model. (#9430) 2020-04-22 22:07:39 +05:30
20200424032633_remove_canonical_email_from_user_emails.rb Revert "FEATURE: enforce_canonical_emails site setting" 2020-04-24 13:52:06 +10:00
20200430010528_remove_avg_time_from_topics_posts.rb DEV: correct drop logic for columns in post table 2020-04-30 12:58:09 +10:00
20200508141209_allow_null_old_email_on_email_change_requests.rb FEATURE: Improve UX support for multiple email addresses (#9691) 2020-06-10 19:11:49 +03:00
20200513185052_drop_topic_reply_count.rb PERF: Dematerialize topic_reply_count (#9769) 2020-05-14 15:42:00 -07:00
20200520001619_remove_fks_from_bookmarks.rb Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
20200522004855_remove_access_control_post_fk.rb Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
20200601111500_remove_image_url_from_post_and_topic.rb DEV: Drop unused image_url column from posts and topics (#9953) 2020-06-02 16:21:38 +10:00
20200610150900_correct_posts_schema.rb DEV: Update rubocop-discourse from 2.3.2 to 2.4.0 (#11079) 2020-10-30 15:04:29 +01:00
20200715045152_remove_bookmarks_delete_when_reminder_sent.rb FEATURE: Add "delete on owner reply" bookmark functionality (#10231) 2020-07-21 10:00:39 +10:00
20200724060632_remove_deprecated_allowlist_settings.rb FIX: use allowlist and blocklist terminology (#10209) 2020-07-27 10:23:54 +10:00
20200728004302_drop_path_whitelist_from_embeddable_hosts.rb FIX: Improve allowed_path column migration (#10321) 2020-07-28 13:31:51 +10:00
20200818084329_update_private_message_on_post_search_data.rb DEV: Drop search index on non-pm posts. 2020-08-21 07:21:34 +08:00
20200903045539_add_index_topics_on_timestamps_private.rb PERF: Keep track of first unread PM and first unread group PM for user. 2020-09-09 14:05:41 +08:00
20201110110952_drop_github_user_infos.rb DEV: Drop github_user_infos table (#11181) 2020-11-10 11:33:27 +00:00
20210125100452_migrate_search_data_after_default_locale_rename.rb FIX: move post_search_data migration into onceoff job (#11851) 2021-01-26 16:29:00 +01:00
20210127140730_undo_add_processed_to_notifications.rb DEV: Replace 'processed' column on notifications with new table (#11864) 2021-01-27 10:29:24 -06:00
20210207232853_fix_topic_timer_duration_minutes.rb FIX: Topic timer duration_minutes was not backfilled correctly (#12004) 2021-02-08 09:33:08 +10:00