mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
a8c0ebccbd
* Add `ActiveRecord::Base.connection.truncate` for SQLite3 adapter. SQLite doesn't support `TRUNCATE TABLE`, but SQLite3 adapter can support `ActiveRecord::Base.connection.truncate` by using `DELETE FROM`. `DELETE` without `WHERE` uses "The Truncate Optimization", see https://www.sqlite.org/lang_delete.html. * Add `rails db:seed:replant` that truncates database tables and loads the seeds Closes #34765 |
||
---|---|---|
.. | ||
collection_cache_association_loading.rb | ||
console_sandbox.rb | ||
controller_runtime.rb | ||
databases.rake |