Does --generate flag work when creating a resource?
To test it I:
1- Updated filament libs (
composer update
) & cleared cache php artisan optimize:clear
2- Created a model + migration:
Model -> Item
Migration -> just added a string field called 'email'
3- Ran:
4- My ItemResource.php is empty
I expected the form to have a text input field and the table a text column
can anyone reproduce it too, or it's me im missing something?
last time i did this it just worked, not sure if an update broke it or what is happening1 Reply
Solution
i found it - missed to migrate -
php artisan migrate