From baecc256f6f1fc1f8cc53bdf8e737e1000555cb5 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 5 Feb 2016 07:55:36 +0100 Subject: [PATCH] Secretly updated some migrations. --- .../2014_07_09_204843_create_session_table.php | 9 +++++---- .../migrations/2016_02_04_144117_changes_for_v380.php | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/database/migrations/2014_07_09_204843_create_session_table.php b/database/migrations/2014_07_09_204843_create_session_table.php index 240f66ba88..66842aa574 100644 --- a/database/migrations/2014_07_09_204843_create_session_table.php +++ b/database/migrations/2014_07_09_204843_create_session_table.php @@ -29,13 +29,14 @@ class CreateSessionTable extends Migration */ public function up() { - Schema::create( - 'sessions', function (Blueprint $table) { + Schema::create('sessions', function ($table) { $table->string('id')->unique(); + $table->integer('user_id')->nullable(); + $table->string('ip_address', 45)->nullable(); + $table->text('user_agent')->nullable(); $table->text('payload'); $table->integer('last_activity'); - } - ); + }); } } diff --git a/database/migrations/2016_02_04_144117_changes_for_v380.php b/database/migrations/2016_02_04_144117_changes_for_v380.php index 6169706fd4..277a1c2942 100644 --- a/database/migrations/2016_02_04_144117_changes_for_v380.php +++ b/database/migrations/2016_02_04_144117_changes_for_v380.php @@ -15,7 +15,8 @@ class ChangesForV380 extends Migration */ public function down() { - // + Schema::drop('export_jobs'); + } /**