Skip to content

Make migration reversible#1423

Closed
alexisszabo wants to merge 1 commit into
SpinaCMS:mainfrom
alexisszabo:1422-make-remove-translated-columns
Closed

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

Conversation

@alexisszabo
Copy link
Copy Markdown

@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
@stale
Copy link
Copy Markdown

stale Bot commented Apr 11, 2026

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the stale label Apr 11, 2026
@stale stale Bot closed this Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make RemoveTranslatedColumns migration reversible

1 participant