Orbit and Filament #49
NigelDorning
started this conversation in
General
Replies: 2 comments 4 replies
-
Just extending the model won't work because it's not setup with Filament's guard. You can read Filament's docs on using a custom model & auth guard, then follow https://ryangjchandler.co.uk/articles/storing-laravel-users-on-disk-in-flat-files to learn how to create a flat User model. |
Beta Was this translation helpful? Give feedback.
1 reply
-
`namespace App\Models; use Illuminate\Database\Eloquent\Model; class Post extends Model
}` not work Add [title] to fillable property to allow mass assignment on [App\Models\Post]. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Interested in playing around with this and Filament and just wondering if there is a way to store Filament users as flat files?
I've tried extending the Filament User model and adding the Orbital trait and static schema method but that didn't seem to work.
Sorry if this isn't totally specific to this package by the way. I can move it if necessary.
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions