Skip to content

Commit

Permalink
Fix generated migrations
Browse files Browse the repository at this point in the history
These need to use a `change do` block instead of `def change`.
  • Loading branch information
timriley committed Oct 28, 2024
1 parent c3b5754 commit e11445a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/hanami/cli/generators/app/migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def file_name(name)
# Add your migration here.
#
# See https://sequel.jeremyevans.net/rdoc/files/doc/migration_rdoc.html for details.
def change
change do
end
end
RUBY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def output
# Add your migration here.
#
# See https://sequel.jeremyevans.net/rdoc/files/doc/migration_rdoc.html for details.
def change
change do
end
end
RUBY
Expand Down

0 comments on commit e11445a

Please sign in to comment.