Pass at removing extraneous permissions table and using native MySQL JSON
This commit is contained in:
parent
23d594f655
commit
32f25170f1
7 changed files with 132 additions and 32 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Pterodactyl\Repositories\Eloquent;
|
||||
|
||||
use Pterodactyl\Models\Permission;
|
||||
use Exception;
|
||||
use Pterodactyl\Contracts\Repository\PermissionRepositoryInterface;
|
||||
|
||||
class PermissionRepository extends EloquentRepository implements PermissionRepositoryInterface
|
||||
|
@ -11,9 +11,10 @@ class PermissionRepository extends EloquentRepository implements PermissionRepos
|
|||
* Return the model backing this repository.
|
||||
*
|
||||
* @return string
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function model()
|
||||
{
|
||||
return Permission::class;
|
||||
throw new Exception('This functionality is not implemented.');
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue