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