it:ad:code_first:howto:add_migrations_to_an_existing_database

IT:AD:EF/CodeFirst:HowTo:Add Migrations to an Existing Database

If you are working with an existing database, that has no migrations, you can create a Blank initial Migration:

Add-Migration First -IgnoreChanges

That might work for a local database…but not sure how one would push this type of database to production, unless one always pushes a populated database… Hum.

  • /home/skysigal/public_html/data/pages/it/ad/code_first/howto/add_migrations_to_an_existing_database.txt
  • Last modified: 2023/11/04 03:39
  • by 127.0.0.1