lib/exodus/migrations/migration.rb
def completed?(direction) 
      return false if self.status.execution_time == 0
      (direction == UP && self.status.current_status == self.status_complete) || 
      (direction == DOWN && self.status.current_status == 0)
    end
def completed?(direction) 
      return false if self.status.execution_time == 0
      (direction == UP && self.status.current_status == self.status_complete) || 
      (direction == DOWN && self.status.current_status == 0)
    end
Checks if a migration as been completed