Closed defsdoor closed 5 months ago
The CI test suite includes composite key tests so I'm not sure what is causing the issue.
Could you provide a test case (https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/wiki/How-to-report-a-bug#minimal-reproducible-script) so that I can recreate it myself.
Hi - sorry for being slow coming back to this. I'm embarrassed to say I cannot replicate it now - everything seems to be ok so I will close this immediately :o
Issue
Composite primary keys on rails 7.1 do not appear to be recognised.
Actual behavior
On a table with a (determined) primary key of [:OR20001, :OR20021], queries include the following column - which is the 2 primary keys -
and raise this error -
Details
7.1.2
7.1.1
2.1.7
FreeTDS details: