Code formatting on db base class