mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
Add post deletion w/ confirmation, search (broken), profile page
This commit is contained in:
parent
bfb497c367
commit
827d125639
21 changed files with 374 additions and 27 deletions
28
config/favorite.php
Normal file
28
config/favorite.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
/**
|
||||
* Use uuid as primary key.
|
||||
*/
|
||||
'uuids' => false,
|
||||
|
||||
/*
|
||||
* User tables foreign key name.
|
||||
*/
|
||||
'user_foreign_key' => 'user_id',
|
||||
|
||||
/*
|
||||
* Table name for favorites records.
|
||||
*/
|
||||
'favorites_table' => 'favorites',
|
||||
|
||||
/*
|
||||
* Model name for favorite record.
|
||||
*/
|
||||
'favorite_model' => Overtrue\LaravelFavorite\Favorite::class,
|
||||
|
||||
/*
|
||||
* Model name for favoriter model.
|
||||
*/
|
||||
'favoriter_model' => App\Models\User::class,
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue