discourse/db/post_migrate
Martin Brennan 79344fe212
FIX: UserField#field_type column change to enum migration
Followup 5963c03643 and
6be4ef59fa

This migration was causing issues on deploy for some sites that
had user fields required to be filled in on signup. The Site#user_fields
cache was getting poisoned, and the `field_type` for all fields
was ending up as `null`, making it impossible to fill
them out in a form.

This commit rectifies the issue by doing the column rename/swap
in the initial migration and _only_ dropping columns in the
post migration, since this messes with the AR cache.
2024-06-20 11:41:03 +10:00
..
20230823095931_add_limit_to_user_second_factor_name.rb SECURITY: Limit name field length of TOTP authenticators and security keys 2023-09-12 15:31:17 -03:00
20230823100627_add_limit_to_user_security_key_name.rb SECURITY: Limit name field length of TOTP authenticators and security keys 2023-09-12 15:31:17 -03:00
20230926165821_drop_post_uploads_table.rb DEV: Drop post_uploads table (#23673) 2023-09-27 12:43:19 +01:00
20231120190818_trigger_post_rebake_category_style_quotes.rb PERF: avoid table scan while performing a very large update (#24525) 2023-11-23 18:15:40 +11:00
20231127165331_trigger_auto_linking_for_videos_since_placeholder.rb DEV: Auto link video placeholder posts (#24576) 2023-11-27 13:22:42 -07:00
20240108022138_change_enable_admin_sidebar_to_group_post_migration.rb FIX: Incorrect admin sidebar setting migration (#25192) 2024-01-10 07:24:23 +10:00
20240110040813_fill_skip_review_media_groups_based_on_deprecated_setting.rb DEV: Convert review_media_unless_trust_level to group-based setting (#25201) 2024-01-11 13:43:01 +10:00
20240112043325_fill_embedded_media_post_allowed_groups_based_on_deprecated_setting.rb DEV: resolve on conflict (#25847) 2024-02-26 10:03:51 -08:00
20240202052058_drop_badge_image_column.rb DEV: Drop deprecated Badge#image column (#25536) 2024-02-02 14:09:55 +08:00
20240212034010_drop_deprecated_columns.rb DEV: Drop deprecated columns (#25640) 2024-02-12 19:35:14 +08:00
20240506035024_clear_orphaned_draft_upload_references.rb DEV: Delete upload references on draft cleanup (#26877) 2024-05-06 14:08:10 +08:00
20240612073116_swap_field_type_with_field_type_enum_on_user_fields.rb FIX: UserField#field_type column change to enum migration 2024-06-20 11:41:03 +10:00