mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-23 19:32:29 +01:00
16 lines
251 B
PHP
16 lines
251 B
PHP
<?php
|
|
|
|
namespace BookStack;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class EmailConfirmation extends Model
|
|
{
|
|
protected $fillable = ['user_id', 'token'];
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo('BookStack\User');
|
|
}
|
|
}
|