59367b3417
Worked around slower eloquent access to speed up permission generation.
13 lines
235 B
PHP
13 lines
235 B
PHP
<?php namespace BookStack;
|
|
|
|
|
|
class SocialAccount extends Model
|
|
{
|
|
|
|
protected $fillable = ['user_id', 'driver', 'driver_id', 'timestamps'];
|
|
|
|
public function user()
|
|
{
|
|
return $this->belongsTo('BookStack\User');
|
|
}
|
|
}
|