Commit 3577009a authored by Grzegorz Bizon's avatar Grzegorz Bizon

Increase isolation of database migrations test models

parent 869b7b31
module MigrationsHelpers
def table(name)
Class.new(ActiveRecord::Base) { self.table_name = name }
Class.new(ActiveRecord::Base) do
self.table_name = name
self.inheritance_column = :_type_disabled
end
end
def migrations_paths
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment