Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dave Hanvey 15 posts 96 karma points
    Jan 27, 2020 @ 07:59
    Dave Hanvey
    0

    Updating another database

    I have a UAT setup and a live setup.

    In Visual Studio I ran Update-Package UmbracoCms against my UAT setup.

    Now I want to update my live environment, what is the correct procedure for that? Obviously my code is update to date in Visual Studio so I can just deploy that but how does it know to update the database?

    If I go into web.config and set this...

    to...

    will it wipe the database i.e. reset it?

    Also, is there any way to look in the database tables to know what version it is at?

    Thanks for any help anyone can be.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 27, 2020 @ 11:10
    Dirk De Grave
    0

    don't change the web.config manually

    it'll know to update the system because it'll check the version from the web.config with the newly deployed assemblies and start the upgrade if required.

    umbracoMigration table should have entries where name is "Umbraco", that'll also tell you what migrations have run (and what umbraco upgrades you've already performed)

    Hope this helps,

    Dirk

  • Dave Hanvey 15 posts 96 karma points
    Jan 27, 2020 @ 12:10
    Dave Hanvey
    0

    Thanks, however I don't see a table called 'umbracoMigration'. I am running Umbraco 8

Please Sign in or register to post replies

Write your reply to:

Draft