-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Unique validation fails: Column 'ROWCOUNT' doesn't make part of the column map #10532
Comments
This is fixed in the 2.0.x branch (Phalcon 2.0.4), you have to change a global ORM setting to allow unexpected columns: \Phalcon\Mvc\Model::setup(['ignoreUnknownColumns' => true]); |
niden
added a commit
that referenced
this issue
Nov 4, 2018
…om/niden/cphalcon into niden-T10532-case-insensitive-column-map * 'T10532-case-insensitive-column-map' of https://github.com/niden/cphalcon: [#10532] - Corrected variable [#10532] - Updated changelog [#10532] - Added case insensitive column map in model
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I have Phalcon 2.0.2 on Oracle 12c. Unique validation for a model fails with error.
Adding of ROWCOUNT into a column map doesn't help. How to fix this error?
SQL log contains:
My model:
The text was updated successfully, but these errors were encountered: