Skip to content

Suggestion: set ORM naming strategy to Underscore #40

Open

Description

@Firehed

Consider setting the default ORM naming strategy to underscores - it's very common to have UpperCamelCase entity names and camelCase field names, while using snake_case for the db-side backing column.

$config->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy(numberAware: true));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions