Open Closed

Initial migration does not supplied any seed data ? #4

talhazengin created


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)
  • 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?


  • 0
    yekalkan created
    Support Team

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

  • 0
    trendline created

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