my-idlers/database/migrations/2022_09_22_020501_update_yabs_table.php
cp6 d4052259cd Updated YABS table for GB5 values to be nullable
Updated YABS table for GB5 values to be nullable
2022-09-22 12:25:41 +10:00

19 lines
471 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up()
{
Schema::table('yabs', function($table)
{
$table->integer('gb5_single')->nullable()->change();
$table->integer('gb5_multi')->nullable()->change();
$table->integer('gb5_id')->nullable()->change();
});
}
};