Skip to content

Loading…

DDC-2594: schema-tools:update fails to sync options={"default" = 0} to the database #3324

Open
doctrinebot opened this Issue · 1 comment

2 participants

@doctrinebot

Jira issue originally created by user naroga:

Specifying DEFAULT 0 on my database will cause doctrine to throw an out-of-sync warning when validating my mappings (if the options={"default"=0} isn't defined), but the inverse is not true. Doctrine will say my entity is synced, even if I specified options={"default"=0} and my database doesn't have a default value.

@doctrinebot

Comment created by @ocramius:

That's normal, advanced "options" are not taken into account when computing changes in the schema (for now)

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.