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

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    trendline created

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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 v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.