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.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11