Retrospring/db/migrate
Karina Kwiatek b5b4f11056 Add index for `answers.created_at`
This improves query time for the public timeline
2023-02-18 15:33:10 +01:00
..
20140801095807_devise_create_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20140801103309_add_screen_name_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20140801174930_create_questions.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20140801175112_create_answers.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20140801175137_create_comments.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141102153520_add_counts_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141104143648_add_display_name_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141110210154_create_inboxes.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141113164048_add_smile_count_to_answers.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141113164314_add_smiled_count_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141126154451_add_admin_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141129211448_add_motivation_header_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141130130221_create_relationships.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141130175749_create_smiles.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141130180152_rename_columns_in_answers.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141201191324_add_fields_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141207194424_add_answer_count_to_questions.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141208111714_change_answer_content_column_type.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141212193625_create_services.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141213182609_create_notifications.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141226115905_add_moderator_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141227130438_create_reports.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141227130545_create_moderation_votes.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141227130618_create_moderation_comments.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141228202825_add_deleted_to_reports.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141229085904_add_attachment_profile_picture_to_users.rb Address @nilsding's review comments 2020-05-17 20:38:40 +01:00
20141229105013_add_profile_picture_processing_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20141229133149_add_crop_values_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150102231343_add_supporter_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150103200732_add_privacy_options_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150112210754_add_banned_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150112210755_create_groups.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150125191224_add_blogger_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150419201122_add_contributor_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150420232305_create_subscriptions.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150421120557_add_is_active_to_subscriptions.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150422024104_add_reason_to_report.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150422224203_rename_banned_to_permanently_banned_in_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150422224225_add_ban_reason_and_banned_until_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150504004931_create_comment_smiles.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150508144336_add_attachment_profile_header_to_users.rb Address @nilsding's review comments 2020-05-17 20:38:40 +01:00
20150526031159_add_locale_to_user.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150619123121_add_translator_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150704072402_change_default_value_of_locale.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150721154255_add_confirmable_to_devise.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150825073030_create_themes.rb Replace paperclip with CarrierWave 2020-05-17 20:38:40 +01:00
20150825180139_add_show_foreign_themes_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20150826224857_add_input_and_outline_to_theme.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20160105165913_add_export_fields_to_users.rb append used Rails version to ActiveRecord::Migration 2020-04-19 18:10:31 +02:00
20200419183714_create_announcements.rb Create Announcement model & controller 2020-04-19 20:12:22 +01:00
20200419184442_rolify_create_roles.rb Use Rolify for admin and moderator roles 2020-04-19 22:35:58 +02:00
20200419185535_create_initial_roles.rb Use Rolify for admin and moderator roles 2020-04-19 22:35:58 +02:00
20200425194536_remove_unused_profile_flags.rb Remove unused profile flags / role columns 2020-04-25 20:51:28 +01:00
20200504214933_update_theme_fields.rb Adjust warning-text default theme value 2020-05-07 19:28:26 +02:00
20200509094402_add_some_indexes.rb Add indexes to some heavily used tables 2020-05-09 12:07:18 +02:00
20200517190138_rename_crop_fields.rb Simplify Rename Crop Fields migration 2020-05-21 21:32:36 +01:00
20200517192431_remove_paperclip_fields.rb Remove un-needed paperclip fields 2020-05-17 20:39:10 +01:00
20200525145144_rename_groups_to_lists.rb Rename Groups to Lists 2020-05-25 18:04:54 +02:00
20200704163504_use_timestamped_ids.rb Use timestamp-based IDs 2020-07-04 20:46:50 +02:00
20201001172537_add_otp_secret_key_to_users.rb Implement @nilsding's review changes 2020-10-23 20:45:06 +02:00
20201101155648_create_totp_recovery_codes.rb Generate recovery keys on TOTP setup 2020-11-01 17:55:31 +01:00
20210811133004_add_direct_to_questions.rb Add direct field to questions 2021-08-11 16:56:58 +02:00
20210814134115_create_user_bans.rb Create user ban model 2022-01-02 19:50:01 +01:00
20211219153054_create_profiles.rb Use an INSERT INTO ... SELECT to move profile data and drop the old columns 2021-12-23 08:56:50 +01:00
20211222165159_create_mute_rules.rb Use timestamp IDs for mute rules 2022-01-02 15:30:04 +01:00
20211228135426_add_indexes_to_notifications.rb Add `notifications` table indexes for `recipient_id` & `new` 2021-12-28 15:11:41 +01:00
20211231155702_add_type_to_relationships.rb Fix lint errors 2022-01-23 16:48:53 +01:00
20211231212335_remove_relationship_counters_from_users.rb Fix lint errors 2022-01-23 16:48:53 +01:00
20220104180510_add_post_tag_to_services.rb Add the ability to post to services with a tag 2022-01-05 19:49:59 +01:00
20220105171216_remove_tumblr_connections.rb remove tumblr 2022-01-05 19:32:52 +01:00
20220127212925_create_appendables.rb Create Appendable model 2022-07-05 23:23:37 +02:00
20220216150127_move_smiles_to_appendables.rb Appease the dog overlords 2022-07-05 23:23:37 +02:00
20220415193829_add_index_for_question_id_index_on_inboxes.rb Appease the dog overlords 2022-04-15 21:50:18 +02:00
20220613221551_rename_author_email_to_author_identifier.rb Appease the dog overlords 2022-06-15 14:26:48 +02:00
20220614141439_create_anonymous_blocks.rb Appease the dog overlords 2022-06-15 14:26:48 +02:00
20220620193732_add_anon_display_name_to_profiles.rb Appease the dog overlords 2022-06-23 21:29:27 +02:00
20220626134554_remove_ban_related_field_from_users.rb Appease the dog overlords 2022-06-26 18:32:18 +02:00
20220705212912_drop_smiles_table.rb Add migration to drop `smiles` table 2022-07-06 20:00:44 +02:00
20220706172257_correct_notification_target_type_for_reactions.rb Add migration to correct type for appendable notifications 2022-07-06 19:24:13 +02:00
20220706174120_drop_author_name_field_from_questions.rb Appease the dog overlords 2022-07-06 19:56:04 +02:00
20220706174816_drop_comment_smiles_table.rb Add migration to drop `comment_smiles` table 2022-07-06 20:00:44 +02:00
20220708203722_correct_notification_target_types.rb Add migration to correct notification target types 2022-07-09 01:15:31 +02:00
20220708204200_remove_orphaned_notifications.rb Add migration to remove orphaned notifications 2022-07-09 01:15:31 +02:00
20220714211614_set_on_delete_for_anonymous_blocks.rb Remove foreign key constraints from anon blocks & mute rules 2022-07-16 21:29:20 +02:00
20220714212414_set_on_delete_for_mute_rules.rb Remove foreign key constraints from anon blocks & mute rules 2022-07-16 21:29:20 +02:00
20220718201541_drop_moderation_votes_table.rb Appease the dog overlords 2022-07-18 23:10:07 +02:00
20220718214748_drop_moderation_comments_table.rb Add migration to drop `moderation_comments` table 2022-07-19 11:17:45 +02:00
20220720190421_add_type_to_notifications.rb Add index to `notifications.type` and make it non-nullable 2022-07-22 16:52:42 +02:00
20220820163035_make_user_id_on_anonymous_blocks_nullable.rb Make `user_id` on `anonymous_blocks` nullable 2022-08-20 19:05:55 +02:00
20220909161542_add_rpush.rb Appease the dog overlords 2023-01-02 11:51:45 +01:00
20220909161543_rpush_2_0_0_updates.rb Appease the dog overlords 2023-01-02 11:51:45 +01:00
20220909161544_rpush_2_1_0_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161545_rpush_2_6_0_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161546_rpush_2_7_0_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161547_rpush_3_0_0_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161548_rpush_3_0_1_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161549_rpush_3_1_0_add_pushy.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161550_rpush_3_1_1_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161551_rpush_3_2_0_add_apns_p8.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161552_rpush_3_2_4_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161553_rpush_3_3_0_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161554_rpush_3_3_1_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161555_rpush_4_1_0_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161556_rpush_4_1_1_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909161557_rpush_4_2_0_updates.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20220909220449_add_webpush_app.rb Use fetch to get contact_email from config in webpush app migration 2023-01-02 11:51:46 +01:00
20220910000514_create_web_push_subscriptions.rb Appease the dog overlords 2023-01-02 11:50:47 +01:00
20221106130744_add_inbox_locked_to_users.rb Fix rubocop offenses 2022-11-06 15:23:05 +01:00
20221113110942_add_privacy_require_user_to_users.rb Add frozen string literal comment 2022-11-13 14:40:34 +01:00
20221114214508_add_input_placeholder_to_themes.rb Add input placeholder field to theme 2022-11-14 23:11:09 +01:00
20221115194933_add_privacy_hide_social_graph.rb Fix lints 2022-11-18 23:19:24 +01:00
20221116201723_add_privacy_noindex_to_user.rb Add noindex field to user 2022-11-16 22:31:49 +01:00
20221226101907_add_failures_to_web_push_subscriptions.rb Track failures on Web Push subscriptions 2023-01-02 11:51:46 +01:00
20221227002012_add_target_user_to_anonymous_blocks.rb Add target_user field to anonymous blocks 2022-12-28 00:10:59 +01:00
20221227065923_make_question_id_on_anonymous_blocks_nullable.rb Make `question_id` on anonymous blocks nullable 2022-12-28 00:10:59 +01:00
20230108114333_add_allow_long_questions_to_profiles.rb Add option for allowing long questions 2023-01-08 13:03:06 +01:00
20230123214851_add_raised_and_accent_text_to_themes.rb Add raised-text and raised-accent-text theme variables 2023-01-23 23:36:38 +01:00
20230128233136_add_pinned_at_to_answers.rb Add `pinned_at` to answers 2023-02-12 20:19:50 +01:00
20230129194809_use_body_text_for_raised_texts_in_themes.rb Fix up theme value migration 2023-01-29 21:25:24 +01:00
20230205145011_add_sharing_fields_to_user.rb Add migration to add sharing fields to users 2023-02-05 21:54:51 +01:00
20230205162103_enable_sharing_for_service_owners.rb Add migration to enable sharing for legacy service owners 2023-02-05 21:54:51 +01:00
20230205162800_drop_services_table.rb Add migration to drop services table 2023-02-05 21:54:51 +01:00
20230212181044_remove_expired_service_connection_notifications.rb remove expired service connection notifications 2023-02-12 19:26:31 +01:00
20230218142952_add_index_for_created_at_on_answers.rb Add index for `answers.created_at` 2023-02-18 15:33:10 +01:00