Open Closed

How can i seed the user admin's of a tenant without running the DbMigrator? #1830


User avatar
0
takahiro created
  • ABP Framework version: v4.4.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

It's not really a problem or bug, but i'm not understanding what should i do when i create a new tenant, i always need to run the DbMigrator to seed the tenant's admins to the database, what should i do, to automatically seed the database when i create a tenant?


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    what should i do, to automatically seed the database when i create a tenant?

    It is already like this, you can see MyProjectNameTenantDatabaseMigrationHandler in your domain project.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07