ubah company
This commit is contained in:
@ -13,16 +13,16 @@ class Company extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $connection = 'db2';
|
||||
protected $table = 'STG_DB.COMPANY';
|
||||
protected $primaryKey = 'ID';
|
||||
protected $connection = 'pgsql';
|
||||
protected $table = 'company';
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
//public $incrementing = false;
|
||||
|
||||
protected $fillable = [
|
||||
"'ID',
|
||||
'DESCRIPTION'
|
||||
'COMPANY_NAME',"
|
||||
"'id',
|
||||
'company_code'
|
||||
'company_name',"
|
||||
];
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user