Increased sessions table size

This commit is contained in:
Igor Scheller 2021-12-25 17:08:59 +01:00 committed by msquare
parent 02c69073f0
commit 05a206d367
1 changed files with 29 additions and 0 deletions

View File

@ -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();
});
}
}