jeudi 11 avril 2019

Laravel disable column in eleoquent model

We have an application with a table, what i want is to disable/read-only one column in my Model, in my example fakecolumn.

So not massasign with $fillable.

I don't want any actions tobe done on that specific column.

Table:

id
name
email
fakecolumn

How can i achieve that and is it also possible?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire