Skip to content

Commit

Permalink
Casting this block body in hopes to fix the CI for LuckyCli
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink committed Nov 30, 2021
1 parent a66f7a4 commit d4afdb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/avram/migrator/runner.cr
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class Avram::Migrator::Runner
end

private def sorted_migrations
self.class.migrations.sort_by(&.new.version)
self.class.migrations.sort_by(&.new.version.as(Int64))
end

private def prepare_for_migration
Expand Down

0 comments on commit d4afdb1

Please sign in to comment.