Open Closed

Initial migration does not supplied any seed data ? #4


User avatar
0
talhazengin created

Hi,

I am not sure the problem is in my side but,

Now i created a template solution from abp suite and made Update-Database from package manager console. When i looked to database, i can't see any data on tables. Thus project does not works as expected. Maybe i am doing something wrong but it says migration succesfull and i used -Verbose mode.

Abp CLI 2.0.1 Abp Suite 2.0.1


3 Answer(s)
  • User Avatar
    0
    talhazengin created

    Hi again,

    When i run db migrations from the console project "DbMigrator" it supplied seed data.

    But should not we use the Package Manager Console?

    Thanks.

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Running DbMigrator updates the database and seeds data. Running update-database command on Package Manager Console only updates the database.

  • User Avatar
    0
    trendline created

    how to do db migration for a module application?the module application template not included a db migtator project

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