BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
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
    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.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.