ticket:5 delete db editing code