db field refactoring.