tighten / parental

Use single table inheritance in your Laravel app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

type column needs to be fillable

bluehatfish opened this issue · comments

Might be worth a note in the readme - the type column needs to be fillable/not guarded in the parent model. Only took me 3 hours to figure that out :)

Also maybe update the link in your blogpost here - https://tighten.co/blog/extending-models-in-eloquent to this repo.

Good catch - added to docs 👍

Based on my usage of this package it appears as though type no longer needs to be fillable for this package to work.