2 ms·
Yea this has gotten me too. What I do now is specify the field I want the error on first in the constraint function, then manually set the index name. It will
by sb8244 4y ago
Yea this has gotten me too. What I do now is specify the field I want the error on first in the constraint function, then manually set the index name.
It will still work exactly as expected if you provide the index name manually, even if it's not the same order as the constraint in the DB.