Automatically generating forms and tables | doctrine/dbal
Sometimes this command generate the form and table data. But most of the time it's not work. I installed the package and give protected_fillable data to model, but it's still not working.
What should I do to find the problem?
Why this command not generating the data automatically?
What should I do to find the problem?
Why this command not generating the data automatically?
Solution
yes, the generator looks at the DB table, not Model. so make sure to run migration before
filament:resource --generate , you can add --force flag to replace the generated resource