mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 20:00:47 +08:00
16 lines
281 B
PHP
16 lines
281 B
PHP
<?php namespace BookStack\Auth;
|
|
|
|
use BookStack\Auth\User;
|
|
use BookStack\Model;
|
|
|
|
class SocialAccount extends Model
|
|
{
|
|
|
|
protected $fillable = ['user_id', 'driver', 'driver_id', 'timestamps'];
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo(User::class);
|
|
}
|
|
}
|