lib/migration_tools.rb in migration_tools-0.1.4 vs lib/migration_tools.rb in migration_tools-0.1.5
- old
+ new
@@ -3,7 +3,15 @@
require 'migration_tools/migration_extension'
require 'migration_tools/tasks'
module MigrationTools
+ def self.forced?
+ !!@forced
+ end
+
+ def self.forced!
+ @forced = true
+ end
+
MIGRATION_GROUPS = [ 'before', 'during', 'after', 'change' ]
end