]> BookStack Code Mirror - bookstack/blob - app/EmailConfirmation.php
replace GPL diff lib with MIT lib
[bookstack] / app / EmailConfirmation.php
1 <?php namespace BookStack;
2
3 class EmailConfirmation extends Model
4 {
5     protected $fillable = ['user_id', 'token'];
6
7     /**
8      * Get the user that this confirmation is attached to.
9      * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
10      */
11     public function user()
12     {
13         return $this->belongsTo(User::class);
14     }
15     
16 }