0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-03-14 12:22:50 +00:00
BookStackApp_BookStack/app/EmailConfirmation.php

17 lines
349 B
PHP
Raw Normal View History

<?php namespace BookStack;
class EmailConfirmation extends Model
{
protected $fillable = ['user_id', 'token'];
/**
* Get the user that this confirmation is attached to.
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function user()
{
return $this->belongsTo(User::class);
}
}