diff --git a/src/Group/Permission.php b/src/Group/Permission.php index 110c365b0..ae50923d8 100644 --- a/src/Group/Permission.php +++ b/src/Group/Permission.php @@ -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. diff --git a/src/User/AuthToken.php b/src/User/AuthToken.php index 2458baca5..87c91740e 100644 --- a/src/User/AuthToken.php +++ b/src/User/AuthToken.php @@ -23,7 +23,7 @@ class AuthToken extends AbstractModel /** * {@inheritdoc} */ - protected $table = 'auth_tokens'; + protected $table = 'registration_tokens'; /** * {@inheritdoc}