clrghouz/database/migrations/2021_06_19_043425_fix_systems.php

29 lines
484 B
PHP
Raw Normal View History

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class FixSystems extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::statement('ALTER TABLE systems ALTER COLUMN notes DROP NOT NULL');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
// Noop
}
}