mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-26 10:13:38 +08: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');
|
|
}
|
|
}
|