Remove the flight fields link from admin #614 (#615)

* Remove the flight fields link from admin #614

* Change flight_field_value col to be nullable

* Fix updater design
This commit is contained in:
Nabeel S
2020-03-04 09:49:51 -05:00
committed by GitHub
parent b1e745844a
commit 174b602d7c
3 changed files with 39 additions and 5 deletions

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
/**
* Allow the flight field value to be nullable
*/
class FlightFieldNullable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('flight_field_values', function ($table) {
$table->text('value')->change()->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
}
}