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 created a table using your guide
However when I use migrations in normal applications I have up/down methods to seed the data so I don't have to enter it manually.
I don't see any documentation on Umbraco in how I do this? Could anyone advise?
You could seed the data inside your migration. Basically, you could create the table and seed the data in the same migration or separate if you prefer.
Have a look at some examples in the core source code: https://github.com/umbraco/Umbraco-CMS/tree/v9/contrib/src/Umbraco.Infrastructure/Migrations/Upgrade
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted