|
@@ -8,7 +8,7 @@ class Roles extends Model
|
8
|
8
|
{
|
9
|
9
|
//protected $connection = 'connection-name'; //jika menggunakan 2 DB modelnya harus dikasih ini
|
10
|
10
|
//protected $primaryKey = 'your_key_name'; // set primarykeymu jika bukan ID
|
11
|
|
- protected $table = 'Roles';
|
|
11
|
+ protected $table = 'roles';
|
12
|
12
|
protected $fillable = [];
|
13
|
13
|
//public $incrementing = false; //jika primary keynya string
|
14
|
14
|
//public $timestamps = false; //matiin created_at, updated_at
|