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
darki73

Hello, i'm trying to write a plugin for my website. The purpose of the plugin is to:

  1. Create Category
  2. Add Post to that category
  3. 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:

  1. Added permissions requirement to the plugin (so only certain group can see the plugin)
  2. Of course, added it under new version in the version.yaml
  3. 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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.