Open Closed

Create test db #5377


User avatar
0
m.alsuwialem created

dears,

I try to create new database for my solution, and when I update the database by EF Core, all table is created but the OpenIddict.* table come with empty data, so my quation how can I full the data related to this tables

regards


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The OpenIddict data will seed by OpenIddictDataSeedContributor.

    You can run the .DbMigrator to seed the data.

  • User Avatar
    0
    m.alsuwialem created

    thank you for response, I try run the , and received the .DbMigrator

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can delete the database and re-run it. It will create the database as well.

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 v9.3.0-rc.1. Updated on June 18, 2025, 12:26