Starts in:
1 DAY
16 HRS
38 MIN
14 SEC
Starts in:
1 D
16 H
38 M
14 S
Open Closed

db migrator ui #805


User avatar
0
RonaldR created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v3.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  • Is there a best practice for building a ui for the db migraor? the initial time we run it there are questions we would like to ask to properly initialize the data with a user and tenant.
  • Also, is there a way that i can invoce the migrator, or parts of it, programaticaly? when a new tenant is added we need to run it in the database to setup menuing ans security for the new tenant, or we need to run it to create the new tenant database. so what we are trying to do is if a new tenant is created, we want to be able to fire off that functionality. is there a best practice for this?

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

    Hi,

    The core code of the migration service is in the domain layer: <YourProjectName>DbMigrationService.

    You can inject and use migration services in your code

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06