lib/picky/backends/sqlite/basic.rb in picky-3.6.16 vs lib/picky/backends/sqlite/basic.rb in picky-4.0.0pre1
- old
+ new
@@ -65,12 +65,14 @@
truncate_db
self
end
+ # Drops the table and creates it anew.
+ #
+ # THINK Could this be replaced by a truncate (DELETE FROM) statement?
+ #
def truncate_db
- # TODO Could this be replaced by a truncate statement?
- #
drop_table
create_table
end
def drop_table