Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/tribikram/ET-VISA/blame/commit/26f3e38eec90d53ce122f2d8c45b47078b8d8ad4/app/Models/NewsAndUpdate.php You should set ROOT_URL correctly, otherwise the web may not work correctly.

18 lines
603 B

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class NewsAndUpdate extends Model
{
use HasFactory;
2 years ago
protected $fillable=['slug','type','point_title','blog_type','image','image_alt','description','seo_title','seo_description','middle_description','bottom_description','keyword','meta_keyword','status','publish_date','title','image_credit','author','image_caption','thumbnail'];
public function news_and_update_points()
{
return $this->hasMany(NewsAndUpdatePoint::class,'news_and_update_id');
}
}