59367b3417
Worked around slower eloquent access to speed up permission generation.
13 lines
210 B
PHP
13 lines
210 B
PHP
<?php
|
|
|
|
namespace BookStack;
|
|
|
|
class EmailConfirmation extends Model
|
|
{
|
|
protected $fillable = ['user_id', 'token'];
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo('BookStack\User');
|
|
}
|
|
}
|