2015-09-04 21:40:36 +02:00
|
|
|
<?php
|
|
|
|
|
2015-09-10 20:31:09 +02:00
|
|
|
namespace BookStack;
|
2015-09-04 21:40:36 +02:00
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class SocialAccount extends Model
|
|
|
|
{
|
|
|
|
|
|
|
|
protected $fillable = ['user_id', 'driver', 'driver_id', 'timestamps'];
|
|
|
|
|
|
|
|
public function user()
|
|
|
|
{
|
2015-09-10 20:31:09 +02:00
|
|
|
return $this->belongsTo('BookStack\User');
|
2015-09-04 21:40:36 +02:00
|
|
|
}
|
|
|
|
}
|