Base solution for your next web application
Open Closed

aspnetzero version upgrade with PostgreSQL database #10730


User avatar
0
mahendra created
  • What is your product version?
  • 8.2
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)?
  • .net core

Hi Experts,

We are using PostgreSQL as database server in our current application which is on aspnetzero version 8.2.

We want to upgrade our application from aspnetzero version 8.2 to 10.5.

We are following the version upgrade document on the following link. https://docs.aspnetzero.com/en/common/latest/Version-Updating

As per the document we need to copy the 10.5 version on the aspnetzero branch and then merge the dev branch from the aspnetzero branch.

As you know that latest fresh source code of 10.5 is with the SQL server database and our application (i.e. 8.2 version) is working with the PostgreSQL.

Could you please let us know the steps for handling EF migrations and Snapshots (with PostgreSQL database) while upgrading from version 8.2 to 10.5?

Thanks in advance


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @mahendra

    I think the best way is to ignore Migrations while merging 10.5 to your version. Then, you can run "Add-Migration" command in your updated solution.