Fixes #386 and #273 - altered column type to text

This commit is contained in:
snipe
2014-11-21 05:47:49 -05:00
parent 89a2b87e42
commit 64c16a0bac
@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class ChangeLicenceType extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
//
DB::statement('ALTER TABLE licenses MODIFY COLUMN serial TEXT');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
DB::statement('ALTER TABLE licenses MODIFY COLUMN serial VARCHAR(255)');
}
}