2018-10-17 12:20:58 -06:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2019-04-25 19:56:04 -06:00
|
|
|
use Pixelfed\Snowflake\HasSnowflakePrimary;
|
2018-10-17 12:20:58 -06:00
|
|
|
|
|
|
|
class Collection extends Model
|
|
|
|
{
|
2019-04-25 19:56:04 -06:00
|
|
|
use HasSnowflakePrimary;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Indicates if the IDs are auto-incrementing.
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $incrementing = false;
|
|
|
|
|
2019-02-03 14:47:50 -07:00
|
|
|
public function profile()
|
|
|
|
{
|
|
|
|
return $this->belongsTo(Profile::class);
|
|
|
|
}
|
2018-10-17 12:20:58 -06:00
|
|
|
}
|