Eloquent creating empty record
I’m sure I’m doing something wrong but can’t figure out what it is. In a controller I have a method which executes: $estimate = Estimate::create( [‘session_id’ => ‘test’] ); Model: use HasFactory; protected $fillable = [‘width, height, direction_id, media_id, coating_id, shape_id, amount, qty, session_id’]; Estimate is related to estimates in my db. When triggered an… Read More Eloquent creating empty record