Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1465 posts 1887 karma points
    Feb 25, 2022 @ 10:23
    Gordon Saxby
    0

    Migration Plan to create a custom table

    I have followed the instructions here https://our.umbraco.com/Documentation/Extending/Database/ and followed the V9 option.

    It works and the table is created upon website start.

    However, if I manually delete the table from the database and then start the website again, the table is not recreated. How can I make it recreate the table if it does not exist?

  • Renante 10 posts 126 karma points
    Feb 26, 2022 @ 23:53
    Renante
    101

    I think you can delete the migration data that can be found in the umbracoKeyValue table.

    That way you can tell Umbraco to run the migration again - only for that migration plan.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies