Skip to content

Primary Key is only pulling identity field, not actually primary key #60

@kenglishhi

Description

@kenglishhi

I found a bug in the primary key detection code. It appears this
code is only looking at for a column that is an identiy. However, some
of my tables have primary keys which are not also identity.
I forked the repo and made my patch here:
http://github.com/kenglishhi/activerecord-sqlserver-adapter/

Kevin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions