1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 11:52:34 +01:00
BookStack/app/SocialAccount.php

17 lines
276 B
PHP
Raw Normal View History

2015-09-04 21:40:36 +02:00
<?php
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()
{
return $this->belongsTo('BookStack\User');
2015-09-04 21:40:36 +02:00
}
}