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