Skip to content

Generating views where there may be no primary key present, causes sequelize to assume there's an id primary key present #676

Open
@kwooccli

Description

there are ways around it to pulled in views with:
vw_[name].removeAttribute('id')

However, it'd be nice if this could be included somehow in the generated typescript models since it can fully see for itself if the tables/views have that id column to begin with rather than just assuming it's always there.

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