mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2594: schema-tools:update fails to sync options={"default" = 0} to the database #3259
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Aug 6, 2013).
Originally assigned to: @beberlei on GitHub.
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 commented on GitHub (Aug 6, 2013):
Comment created by @ocramius:
That's normal, advanced "options" are not taken into account when computing changes in the schema (for now)
@malukenho commented on GitHub (Jan 12, 2017):
@Ocramius can be closed as per your previous answer?
@lcobucci commented on GitHub (Jan 12, 2017):
Closing as
won't fix