Fix missing method in deletion

This commit is contained in:
Yuki Kawamoto 2017-05-08 09:14:05 +09:00
parent afc45492e0
commit 8c1a0eba33

View file

@ -72,7 +72,7 @@ module DatabaseCleaner::ActiveRecord
INFORMATION_SCHEMA.TABLES
WHERE
table_schema = '#{db_name}'
AND table_name <> '#{migration_table_name}';
AND table_name <> '#{::DatabaseCleaner::ActiveRecord::Base.migration_table_name}';
SQL
end
end