Browse Source

fix roles model

jauhar54 2 years ago
parent
commit
f984bdd208
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Roles.php

+ 1
- 1
app/Roles.php View File

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

Loading…
Cancel
Save