cybercog / laravel-love

Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?
https://komarev.com/sources/laravel-love
MIT License
1.17k stars 71 forks source link

Database Changes - Setup Instructions #213

Closed JD456976 closed 1 year ago

JD456976 commented 1 year ago

Change:

php artisan love:setup-reacterable --model="App\User"

To:

php artisan love:setup-reacterable --model="App\Models\User"
antonkomarev commented 1 year ago

Models could be anywhere you want. Models directory is a pretty new standard in Laravel, earlier it was in the app root.

antonkomarev commented 1 year ago

@JD456976 Fixed it, thanks!

JD456976 commented 1 year ago

Very welcome!

Thank you for all your work on your package!

On Dec 8, 2022, at 10:51 PM, Anton Komarev @.***> wrote:

Closed #213 https://github.com/cybercog/laravel-love/issues/213 as completed.

— Reply to this email directly, view it on GitHub https://github.com/cybercog/laravel-love/issues/213#event-7995901183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW6BFLJLUINOEATTRCVJE3TWMLJGRANCNFSM6AAAAAASY6OAWE. You are receiving this because you were mentioned.