diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake index c8d35af..c9ee517 100644 --- a/lib/tasks/redmine.rake +++ b/lib/tasks/redmine.rake @@ -68,7 +68,8 @@ DESC tables = ActiveRecord::Base.connection.tables.sort - %w(schema_migrations plugin_schema_info) if (tables - target_tables).any? - abort "The following table(s) are missing from the target database: #{(tables - target_tables).join(', ')}" + list = (tables - target_tables).map {|table| "* #{table}"}.join("\n") + abort "The following table(s) are missing from the target database:\n#{list}" end tables.each do |table_name|