changed delete() to truncate() when clearing table for migrations