status_id = 2; }); } protected $connection = 'pgsql'; protected $table = 'archive_infos'; protected $fillable = [ 'historyable_type', 'historyable_id', 'num', 'post_in', 'status_id' ]; public function historyable() { return $this->morphTo(); } public function status() { return $this->belongsTo(ArchiveStatus::class); } }