Commit d48f220d authored by Maik Messerschmidt's avatar Maik Messerschmidt
Browse files

Make data column in results table longtext.

parent 51bea629
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class MakeDataLongtextInResultsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('results', function (Blueprint $table) {
$table->longtext('data')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('results', function (Blueprint $table) {
$table->text('data')->change();
});
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment