diff --git a/app/Models/Group.php b/app/Models/Group.php index 1003e0d03f6c..48dafe1cec6d 100755 --- a/app/Models/Group.php +++ b/app/Models/Group.php @@ -7,7 +7,7 @@ class Group extends SnipeModel { - protected $table = 'groups'; + protected $table = 'permission_groups'; public $rules = array( 'name' => 'required|min:3|max:255', diff --git a/database/migrations/2019_06_12_184327_rename_groups_table.php b/database/migrations/2019_06_12_184327_rename_groups_table.php new file mode 100644 index 000000000000..011570579faf --- /dev/null +++ b/database/migrations/2019_06_12_184327_rename_groups_table.php @@ -0,0 +1,28 @@ +