Increased sessions table size

main
Igor Scheller 3 years ago committed by msquare
parent 02c69073f0
commit 05a206d367

@ -0,0 +1,29 @@
<?php
namespace Engelsystem\Migrations;
use Engelsystem\Database\Migration\Migration;
use Illuminate\Database\Schema\Blueprint;
class IncreaseSessionsTablePayloadSize extends Migration
{
/**
* Run the migration
*/
public function up()
{
$this->schema->table('sessions', function (Blueprint $table) {
$table->mediumText('payload')->change();
});
}
/**
* Reverse the migration
*/
public function down()
{
$this->schema->table('sessions', function (Blueprint $table) {
$table->text('payload')->change();
});
}
}
Loading…
Cancel
Save