Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Allow to specify the name of Primary Key #44

@Takeno

Description

@Takeno

I've a database schema (MySQL in my case) which has no key named id but it uses idcustomer as primary key. In this way, node-sql-fixtures can't work.

 ER_BAD_FIELD_ERROR: Unknown column 'id' in 'where clause'

It should be nice to have the option to specify the primary key of table to avoid error.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions