Skip to content
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
This repository was archived by the owner on Dec 20, 2018. It is now read-only.

Enable schema changes in a non breaking way (IdentitySchemaOptions?) #1208

@HaoK

Description

@HaoK

Something like this in the EntityFrameworkCore package:

public class IdentitySchemaOptions {
   public bool EnableLastSignInDate { get; set; }
   public bool EnableCreationDate { get; set; }
   public bool EnablePasswordChangeDate { get; set; }
}

We'd consume this in the DbContext options. We still would need to rationalize this with enabling the manager functionality, as the managers won't be able to check these options (it uses interface implementations on the store today)

Needed for https://github.com/aspnet/Identity/issues/1121, we should look at this early in preview3

@ajcvickers @divega @javiercn @danroth27

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions