DDC-2467: Incorrect work with default values, indexes, autoincrement (patch attached) #3184

Open
doctrinebot opened this Issue May 23, 2013 · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user and:

If you use in your MySQL database default values, indexes or string primary key, you get incorrect mapping by mapping generator. For get it - just use in database one or more from listed abilities, generate mapping for that and then try to dump-sql with schema-tool:update.

Hope you fix it. Tnx! ;)

@doctrinebot

Comment created by @ocramius:

Marked as minor improvement - thank you for the patch!

@doctrinebot

Comment created by and:

When it will be merged? Maybe, planned version?

@doctrinebot

Comment created by @ocramius:

[~and] such a patch requires failing tests before being applied - that's up to whoever picks it up.

@doctrinebot

Comment created by and:

So if I add patch with tests - it will be merged? =)

@doctrinebot

Comment created by @ocramius:

Most probably - you can open a pull request against the current ORM master for that

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment