remove database generation code