mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 15:33:44 +01:00
Created migration for YABS geekbench 6 values
Created migration for YABS geekbench 6 values
This commit is contained in:
parent
df15ea3141
commit
c19d831da5
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('yabs', function (Blueprint $table) {
|
||||
$table->integer('gb6_single')->nullable()->default(null)->after('gb5_id');
|
||||
$table->integer('gb6_multi')->nullable()->default(null)->after('gb5_id');
|
||||
$table->integer('gb6_id')->nullable()->default(null)->after('gb5_id');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('yabs', function (Blueprint $table) {
|
||||
$table->dropColumn('gb6_single');
|
||||
$table->dropColumn('gb6_multi');
|
||||
$table->dropColumn('gb6_id');
|
||||
});
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user