mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
59367b3417
Worked around slower eloquent access to speed up permission generation.
14 lines
210 B
PHP
14 lines
210 B
PHP
<?php
|
|
|
|
namespace BookStack;
|
|
|
|
class EmailConfirmation extends Model
|
|
{
|
|
protected $fillable = ['user_id', 'token'];
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo('BookStack\User');
|
|
}
|
|
}
|