-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#889 On OracleDB, primary key is considered missing if index_name != constraint_name #2686
Conversation
{ | ||
$table = new Table('list_table_indexes_pk_id_test'); | ||
$table->setSchemaConfig($this->_sm->createSchemaConfig()); | ||
$table->addColumn('id', 'integer', ['notnull' => true]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not use short array syntax here, as we target this patch for 2.5
where we still support PHP 5.3
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deeky666 let's fix it ourselves during backport
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@deeky666: Thank you for the hint. I just replaced all shorthand array syntax.
…yntax for backwards compatibility
🚢 thanks @SkydiveMarius! |
Backported to |
Same as pull request #889, but with added test.
Fixes issue #1234 and doctrine/orm#6206