some ranamings and database changes

This commit is contained in:
2026-09-17 12:42:43 +02:00
parent ed347133ce
commit c5ba074c9b
11 changed files with 48 additions and 13 deletions
+3 -1
View File
@@ -3,14 +3,16 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Concerns\HasUuids;
class Wishes extends Model
{
use HasUuids;
use HasFactory;
protected $table = 'wishes';
protected $fillable = ['title', 'description', 'reward', 'owner_id', 'status', 'agent_id', 'guest_id'];
protected $fillable = ['title', 'description', 'reward', 'owner_id', 'status', 'agent_id', 'guest_id', 'type', 'rune', 'color'];
public function agent(): BelongsTo
{