mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 21:11:55 +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;
|
use Illuminate\Database\Eloquent\Builder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo document database columns with @property
|
* @property int $group_id
|
||||||
|
* @property string $permission
|
||||||
*/
|
*/
|
||||||
class Permission extends AbstractModel
|
class Permission extends AbstractModel
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected $table = 'permissions';
|
protected $table = 'groups_permissions';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Define the relationship with the group that this permission is for.
|
* Define the relationship with the group that this permission is for.
|
||||||
|
|
|
@ -23,7 +23,7 @@ class AuthToken extends AbstractModel
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
protected $table = 'auth_tokens';
|
protected $table = 'registration_tokens';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user