mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Merge pull request #140 from heisee/master
enables the deletion strategy also to JRuby (and not only the truncation strategy)
This commit is contained in:
commit
de29527f72
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module ActiveRecord
|
|||
end
|
||||
end
|
||||
|
||||
class PostgreSQLAdapter < AbstractAdapter
|
||||
class PostgreSQLAdapter < POSTGRE_ADAPTER_PARENT
|
||||
def delete_table(table_name)
|
||||
execute("DELETE FROM #{quote_table_name(table_name)};")
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue