Skip to content

Exception when using Mysql database migrations #290

Description

@slarkerino

InvalidOperationException has been thrown. The operation will be tried 2 times more. Exception:
The entity type 'OrderDiscountPreviewInfoModel' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.

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