lib/exodus/migrations/migration.rb in exodus-1.0.6 vs lib/exodus/migrations/migration.rb in exodus-1.1.0
- old
+ new
@@ -122,9 +122,13 @@
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 characteristic
+ "#{self.class}: #{self.status.arguments}"
+ end
+
protected
# Executes a given block if the status has not being processed
# Then update the status
def step(step_message = nil, step_status = 1)
\ No newline at end of file