Skip to content

Commit

Permalink
Stop colorizing migration status table output
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin Riley authored and Devin Riley committed Jul 6, 2019
1 parent f5dd3b1 commit 69e3111
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/avram/tasks/db/migrations_status.cr
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ class Db::Migrations::Status < LuckyCli::Task

private def migration_statuses
migrations.map do |migration|
status = if migration.new.migrated?
"Migrated".colorize(:green)
else
"Pending".colorize(:yellow)
end

status = migration.new.migrated? ? "Migrated" : "Pending"
[migration.name, status]
end
end
Expand Down

0 comments on commit 69e3111

Please sign in to comment.