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

Problem with Unique Key with Oracle #16447

Open
rickgrana opened this issue Jun 27, 2018 · 1 comment
Open

Problem with Unique Key with Oracle #16447

rickgrana opened this issue Jun 27, 2018 · 1 comment
Labels
Oracle status:ready for adoption Feel free to implement this issue. type:bug Bug

Comments

@rickgrana
Copy link

rickgrana commented Jun 27, 2018

I've created a table on Oracle with Migration and with a UNIQUE KEY.

When trying to generating the model via Gii, I am receiving an 'UNDEFINED INDEX_NAME' error.

I opened the file \db\oci\Schema.php and, at line 540 I realized that it is not considering the ATTR_CASE property.

In my case, I am using CASE_LOWER, which explains why the query is not finding the INDEX_NAME key.

@samdark samdark added Oracle type:bug Bug status:ready for adoption Feel free to implement this issue. labels Jun 27, 2018
@samdark
Copy link
Member

samdark commented Jun 27, 2018

@rickgrana would you like to fix it and submit a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Oracle status:ready for adoption Feel free to implement this issue. type:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants