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. 👍🏼

貢獻者指南