Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: IrreversibleMigration will now ignore methods within create_table block #47

Conversation

AlasdairWallaceMackie
Copy link
Contributor

Resolves issue: #46

Reason for Change

  • create_table is always a reversible change, so any methods within don't need to be checked.

Comment on lines +45 to +50
change do
create_table(:artists) do
primary_key :id
String :name, null: false
end
end
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Example taken from Sequel docs

image

@cyberdelia cyberdelia merged commit 61ffff6 into rubocop:master Nov 4, 2024
5 checks passed
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.

2 participants