skoruba/IdentityServer4.Admin

Redesign seeding of database

Open

#502 创建于 2020年2月16日

在 GitHub 查看
 (2 评论) (0 反应) (1 负责人)C# (3,486 star) (1,125 fork)batch import
help wantedpriority: mediumtask

描述

For some use case is necessary to be able choose which db context is required for migration and seeding as well.

I am wondering about these modifications:

  • Add some parameters into AppSettings.json:
    • RunSeed
    • RunMigrationIdentityServerConfiguration -RunMigrationIdentityServerPersistedGrants
    • RunMigrationIdentity
    • RunMigrationAuditLogging
    • RunMigrationLogging

Final tables will be created according to options above.

Another thing is that maybe it would be fine - move whole process of seeding and database migration to separate project which it will be responsible only for this part.

Feedback is welcome. 👍🏼

贡献者指南

Redesign seeding of database · skoruba/IdentityServer4.Admin#502 | Good First Issue