'integer', 'ext_id' => 'integer', 'created_by' => 'integer', 'updated_by' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', // _name is a stored generated column, so you’ll get it automatically '_name' => 'string', ]; public function physicalItems() { return $this->hasMany(PhysicalItem::class, 'manufacturer_id'); } }