Ver código fonte

fix roles model

jauhar54 2 anos atrás
pai
commit
f984bdd208
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      app/Roles.php

+ 1
- 1
app/Roles.php Ver arquivo

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

Carregando…
Cancelar
Salvar