0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/plugins/discourse-rewind/db/post_migrate
Régis Hanol 22e06e7151
DEV: Rename discourse_rewind_disabled column to discourse_rewind_enabled (#36961)
Follow-up to #36723.

The original PR added virtual accessors to flip the column semantics
while minimizing deployment risk. Now that the change has been deployed
and verified, this migration properly renames the column to match the
exposed attribute name.

The column values are inverted during migration (disabled=true becomes
enabled=false) so existing user preferences are preserved. The old
column is marked readonly and will be dropped in a post-deploy migration
following our standard column removal pattern.
2026-01-08 11:16:03 +01:00
..
20260105171226_drop_discourse_rewind_disabled_from_user_options.rb