lib/strong_migrations/migration.rb in strong_migrations-0.1.2 vs lib/strong_migrations/migration.rb in strong_migrations-0.1.3

- old
+ new

@@ -12,10 +12,10 @@ @direction = direction super end def method_missing(method, *args, &block) - unless @safe || is_a?(ActiveRecord::Schema) || @direction == :down + unless @safe || ENV["SAFETY_ASSURED"] || is_a?(ActiveRecord::Schema) || @direction == :down case method when :remove_column raise_error :remove_column when :remove_timestamps raise_error :remove_column