提交 ee0ca345 编写于 作者: R Richard Schneeman

Merge pull request #21646 from schneems/schneems/no-hardcoded-ignored-lines-in-schema-dumper

Don't hardcode table name
......@@ -247,7 +247,7 @@ def remove_prefix_and_suffix(table)
end
def ignored?(table_name)
['schema_migrations', ignore_tables].flatten.any? do |ignored|
[ActiveRecord::Base.schema_migrations_table_name, ignore_tables].flatten.any? do |ignored|
ignored === remove_prefix_and_suffix(table_name)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册