This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
darki73
Hello, i'm trying to write a plugin for my website. The purpose of the plugin is to:
- Create Category
- Add Post to that category
- Display on the page
So far, i've managed to achieve all of the required goals, however, now i'm facing an issue with plugin updates. What i tried to do:
- Added permissions requirement to the plugin (so only certain group can see the plugin)
- Of course, added it under new version in the version.yaml
- Run php artisan plugin.refresh company.plugin
What happened is all of the data i had is now gone. So here is the question: How can i update my plugins without using existing data?
1-1 of 1