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 1444 posts 1855 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 9 posts 125 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.

Please Sign in or register to post replies

Write your reply to:

Draft