spatie / laravel-settings

Store strongly typed application settings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New entries instead of update

mohamedsabil83 opened this issue · comments

Beginning from v3.0, when updating any setting, it adds a new record(s) instead of updating the current ones. I had to return to v2.8.3 which works as expected.

After more digging, I found it just needs to update the settings table like mentioned in the UPGRADING

@mohamedsabil83
Please tell me how you fixed this exactly? After all, I did the same thing, and I write new data instead of updating old data. I will be glad to see your answer

Sure @bekbolot1407. Just create a migration. Copy the content from UPGRADING. Then, run it.