mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 22:43:41 +08:00
tables renamed, auth_tokens and permissions
This commit is contained in:
parent
665ac178e9
commit
406be427ad
|
@ -15,14 +15,15 @@ use Flarum\Database\AbstractModel;
|
|||
use Illuminate\Database\Eloquent\Builder;
|
||||
|
||||
/**
|
||||
* @todo document database columns with @property
|
||||
* @property int $group_id
|
||||
* @property string $permission
|
||||
*/
|
||||
class Permission extends AbstractModel
|
||||
{
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $table = 'permissions';
|
||||
protected $table = 'groups_permissions';
|
||||
|
||||
/**
|
||||
* Define the relationship with the group that this permission is for.
|
||||
|
|
|
@ -23,7 +23,7 @@ class AuthToken extends AbstractModel
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected $table = 'auth_tokens';
|
||||
protected $table = 'registration_tokens';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
Loading…
Reference in New Issue
Block a user