Skip to content

Commit dcc75f9

Browse files
authored
Merge pull request rails#46461 from adrianna-chang-shopify/ac-use-filename-pending-migrations
Use filename when printing pending migrations
2 parents 494e89b + 6d55eb9 commit dcc75f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/migration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def detailed_migration_message(pending_migrations)
160160
message += "You have #{pending_migrations.size} pending #{pending_migrations.size > 1 ? 'migrations:' : 'migration:'}\n\n"
161161

162162
pending_migrations.each do |pending_migration|
163-
message += "#{pending_migration.basename}\n"
163+
message += "#{pending_migration.filename}\n"
164164
end
165165

166166
message

0 commit comments

Comments
 (0)