table migration fix

This commit is contained in:
2018-11-10 13:16:16 -06:00
parent c9814ef65c
commit 7141fecbae

View File

@@ -16,7 +16,7 @@ class CreateSessionsTable extends Migration
if(!Schema::hasTable('sessions')) {
Schema::create('sessions', function (Blueprint $table) {
$table->string('id')->unique();
$table->unisgnedInteger('user_id')->nullable();
$table->unsignedInteger('user_id')->nullable();
$table->string('ip_address', 45)->nullable();
$table->text('user_agent')->nullable();
$table->text('payload');