jauhar54 2 anni fa
parent
commit
f984bdd208
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      app/Roles.php

+ 1
- 1
app/Roles.php Vedi File

@@ -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

Loading…
Annulla
Salva