some ranamings and database changes
This commit is contained in:
+3
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user