Skip to content

Commit d4afdb1

Browse files
committed
Casting this block body in hopes to fix the CI for LuckyCli
1 parent a66f7a4 commit d4afdb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/avram/migrator/runner.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class Avram::Migrator::Runner
201201
end
202202

203203
private def sorted_migrations
204-
self.class.migrations.sort_by(&.new.version)
204+
self.class.migrations.sort_by(&.new.version.as(Int64))
205205
end
206206

207207
private def prepare_for_migration

0 commit comments

Comments
 (0)