Skip to content

Custom primary key #551

@sushantdhiman

Description

@sushantdhiman

It should be possible to specify UUID, BIGINT etc with custom name for primary key

$ sequelize model:generate --name User --attributes ID:bigint:primary
{
    type: Datatypes.BIGINT,
    primaryKey: true
}

#356

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions