feat: fix
This commit is contained in:
parent
11c1c850c9
commit
aeebaf64a4
|
|
@ -12,10 +12,12 @@ return new class extends Migration
|
|||
public function up(): void
|
||||
{
|
||||
Schema::table('hunts', function (Blueprint $table) {
|
||||
if (!Schema::hasColumn('hunts', 'id')) {
|
||||
$table->id();
|
||||
}
|
||||
if (!Schema::hasColumn('hunts', 'xp')) {
|
||||
$table->unsignedBigInteger('xp')->default(0);
|
||||
$table->string('status')->default('draft');
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue