changed db_delete to db_truncate, which is more 'correct' in this context.