2015-09-05 21:25:57 +02:00
|
|
|
<?php
|
|
|
|
|
2015-09-10 20:31:09 +02:00
|
|
|
namespace BookStack;
|
2015-09-05 21:25:57 +02:00
|
|
|
|
|
|
|
class EmailConfirmation extends Model
|
|
|
|
{
|
|
|
|
protected $fillable = ['user_id', 'token'];
|
|
|
|
|
|
|
|
public function user()
|
|
|
|
{
|
2015-09-10 20:31:09 +02:00
|
|
|
return $this->belongsTo('BookStack\User');
|
2015-09-05 21:25:57 +02:00
|
|
|
}
|
|
|
|
}
|