skoruba/IdentityServer4.Admin

Redesign seeding of database

Open

#502 opened on 2020年2月16日

GitHub で見る
 (2 comments) (0 reactions) (1 assignee)C# (3,486 stars) (1,125 forks)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. 👍🏼

コントリビューターガイド