lib/strong_migrations/migration.rb in strong_migrations-0.1.4 vs lib/strong_migrations/migration.rb in strong_migrations-0.1.5
- old
+ new
@@ -124,21 +124,19 @@
"The strong_migrations gem does not support inspecting what happens inside a
change_table block, so cannot help you here. Please make really sure that what
you're doing is safe before proceding, then wrap it in a safety_assured { ... } block."
end
-
- message.prepend '
+ wait_message = '
__ __ _____ _______ _
\ \ / /\ |_ _|__ __| |
\ \ /\ / / \ | | | | | |
\ \/ \/ / /\ \ | | | | | |
\ /\ / ____ \ _| |_ | | |_|
\/ \/_/ \_\_____| |_| (_)
'
- message << "\n"
- raise StrongMigrations::UnsafeMigration, message
+ raise StrongMigrations::UnsafeMigration, "#{wait_message}#{message}\n"
end
end
end