Fixes #3546 - increases size of field values in custom fields for listboxes

This commit is contained in:
snipe 2017-05-08 20:06:52 -07:00
parent 322817b8b1
commit 4f9a253103

View file

@ -0,0 +1,33 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class IncreaseSizeOfFieldValuesInCustomFields extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('custom_fields', function ($table) {
$table->text('field_values')->nullable()->default(null)->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('custom_fields', function ($table) {
$table->string('field_values', 255)->nullable()->default(null)->change();
});
}
}