BookStack/app/SocialAccount.php

17 lines
276 B
PHP
Raw Normal View History

2015-09-04 15:40:36 -04:00
<?php
namespace BookStack;
2015-09-04 15:40:36 -04:00
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');
2015-09-04 15:40:36 -04:00
}
}