Merge pull request #1502 from pixelfed/frontend-ui-refactor
Update Profile model to use snowflake ids
This commit is contained in:
commit
4fea2a9c83
1 changed files with 9 additions and 1 deletions
|
@ -4,11 +4,19 @@ namespace App;
|
|||
|
||||
use Auth, Cache, Storage;
|
||||
use App\Util\Lexer\PrettyNumber;
|
||||
use Pixelfed\Snowflake\HasSnowflakePrimary;
|
||||
use Illuminate\Database\Eloquent\{Model, SoftDeletes};
|
||||
|
||||
class Profile extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
use HasSnowflakePrimary, SoftDeletes;
|
||||
|
||||
/**
|
||||
* Indicates if the IDs are auto-incrementing.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $incrementing = false;
|
||||
|
||||
protected $dates = ['deleted_at'];
|
||||
protected $hidden = ['private_key'];
|
||||
|
|
Loading…
Reference in a new issue