Pass at removing extraneous permissions table and using native MySQL JSON

This commit is contained in:
Dane Everitt 2020-03-22 16:56:00 -07:00
parent 23d594f655
commit 32f25170f1
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
7 changed files with 132 additions and 32 deletions

View file

@ -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.');
}
}