Skip to content

Upgrade to 9.0.0 break identity column generation #1042

@sec

Description

@sec

Using 8.5.4, having class ex.:

record Record(int Id);

results in generating table as:

"Id" INTEGER GENERATED BY DEFAULT AS IDENTITY NOT NULL,

However, after upgrade to 9.0.0, the same code generate:

"Id" INTEGER NOT NULL,

Is this change by purpose or does every model now need to have identity column explictly stated, ex. modelBuilder.Entity<Record>(b => { b.Property(p => p.Id).UseIdentityColumn(); }); ?

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions