DDC-1217: Use the DBAL ReservedKeywordsValidator in orm:validate-schema #1824

doctrinebot opened this Issue Jun 20, 2011 · 1 comment

3 participants


Jira issue originally created by user stof:

DBAL provides a ReservedKeywordsValidator to check whether a word is reserved. But this tool is not used by the ORM when validating the schema. It would be useful to use it to avoid WTF from users getting a PDOException when creating their schema because of this.
The other solution if you don't want to add this in orm:validate-schema would be to create a dedicated command.

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015

👍 I catch myself on "order" so many times.

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