mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Updates the DataMapper truncation strategy to version 0.10.3
This commit is contained in:
parent
968d14c17b
commit
253247bd08
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
0.5.x (In Git)
|
||||
|
||||
=== Bugfixes
|
||||
* Updates the DataMapper truncation strategy to version 0.10.3. (Robert Rouse)
|
||||
|
||||
== 0.5.2
|
||||
|
||||
=== Bugfixes
|
||||
|
|
|
@ -29,7 +29,7 @@ module DataMapper
|
|||
execute("SET FOREIGN_KEY_CHECKS = 0;")
|
||||
yield
|
||||
ensure
|
||||
execute("SET FOREIGN_KEY_CHECKS = #{old};")
|
||||
execute("SET FOREIGN_KEY_CHECKS = #{old.first};")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue