Skip to content
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

Merged
merged 2 commits into from
May 20, 2017

Conversation

marius-meissner
Copy link
Contributor

@marius-meissner marius-meissner commented Mar 23, 2017

Same as pull request #889, but with added test.
Fixes issue #1234 and doctrine/orm#6206

{
$table = new Table('list_table_indexes_pk_id_test');
$table->setSchemaConfig($this->_sm->createSchemaConfig());
$table->addColumn('id', 'integer', ['notnull' => true]);
Copy link
Member

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.

Copy link
Member

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

Copy link
Contributor Author

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.

@Ocramius Ocramius assigned Ocramius and unassigned deeky666 May 20, 2017
@Ocramius Ocramius dismissed deeky666’s stale review May 20, 2017 13:30

CS concerns handled

@Ocramius
Copy link
Member

🚢 thanks @SkydiveMarius!

@Ocramius Ocramius modified the milestones: 2.6, 2.5.13 May 20, 2017
@Ocramius Ocramius merged commit 51220fc into doctrine:master May 20, 2017
Ocramius added a commit that referenced this pull request May 20, 2017
@Ocramius
Copy link
Member

Backported to 2.5 via 76b65d7

@Ocramius Ocramius changed the title Fixed oracle bug that primary key is missing if index_name != constraint_name On OracleDB, primary key is considered missing if index_name != constraint_name Jul 22, 2017
@Ocramius Ocramius changed the title On OracleDB, primary key is considered missing if index_name != constraint_name #889 On OracleDB, primary key is considered missing if index_name != constraint_name Jul 22, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants