Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe 2016-10-27 21:40:06 -07:00
commit 0f47ddbeb1

View file

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