Removed duplicate database type assignment in constructor