BookStack/app/SocialAccount.php

17 lines
276 B
PHP
Raw Normal View History

2015-09-05 03:40:36 +08:00
<?php
namespace BookStack;
2015-09-05 03:40:36 +08: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-05 03:40:36 +08:00
}
}