Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
I think you can delete the migration data that can be found in the umbracoKeyValue table.
umbracoKeyValue
That way you can tell Umbraco to run the migration again - only for that migration plan.
is working on a reply...
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.
Continue discussion
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?
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.
is working on a reply...
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.