Minor layout fixes, and link fixes. Changed notes to be optional in systems table
This commit is contained in:
28
database/migrations/2021_06_19_043425_fix_systems.php
Normal file
28
database/migrations/2021_06_19_043425_fix_systems.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user