Copied to clipboard

Flag this post as spam?

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


  • Lee Higgitt 9 posts 90 karma points
    Apr 16, 2020 @ 15:40
    Lee Higgitt
    1

    Umbraco 8 Migration Plan re-run?

    Hi,

    We've got some custom tables in out Umbraco 8 solution.

    Whilst in development it's common for a migration to not be "quite right" and generally we'd roll back the migration manually, fix the migration, delete the migration from umbracoMigrations and allow it to run again.

    In umbraco 8 however there isn't an umbracoMigrations table nor can I find it if it's been renamed...

    Can any one shed any light on this?

    Thanks in advance,

    Lee

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Apr 16, 2020 @ 16:26
    Alex Skrypnyk
    1

    hi Lee

    This is a great article on how to create a migration in v 8 - https://www.zpqrtbnk.net/posts/migrations-in-v8

  • Kevin Jump 2312 posts 14698 karma points MVP 7x c-trib
    Apr 16, 2020 @ 16:32
    Kevin Jump
    109

    Hi Lee,

    in Umbraco 8 the migration data is stored in the UmbracoKeyValue table, when developing you will want to remove the entries from here.

    Kevin

  • Lee Higgitt 9 posts 90 karma points
    Apr 16, 2020 @ 20:25
    Lee Higgitt
    0

    Thank you both for your quick replys - Incredibly apprecited :)

    Stay safe.

    Lee

  • Alex Skrypnyk 6133 posts 23952 karma points MVP 7x admin c-trib
    Apr 16, 2020 @ 20:26
    Alex Skrypnyk
    0

    You are always welcome, Ask more questions and stay safe!

Please Sign in or register to post replies

Write your reply to:

Draft