Skip to content

Make migration reversible#1423

Open
alexisszabo wants to merge 1 commit intoSpinaCMS:mainfrom
alexisszabo:1422-make-remove-translated-columns
Open

Make migration reversible#1423
alexisszabo wants to merge 1 commit intoSpinaCMS:mainfrom
alexisszabo:1422-make-remove-translated-columns

Conversation

@alexisszabo
Copy link

@alexisszabo alexisszabo commented Feb 8, 2026

Fixes #1422 This pull request updates the migration file db/migrate/5_remove_translated_columns.rb to specify the column types when removing columns.

Context

The migration previously could not be rolled back

Changes proposed in this pull request

The migration can now be rolled back

Guidance to review

Run rails spina:install on a new project, then rollback the migrations. They should all rollback cleanly.

remove_column requires specifying the column type to be reversible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make RemoveTranslatedColumns migration reversible

1 participant