Secretly updated some migrations.

This commit is contained in:
James Cole 2016-02-05 07:55:36 +01:00
parent c5dc073d49
commit baecc256f6
2 changed files with 7 additions and 5 deletions

View File

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

View File

@ -15,7 +15,8 @@ class ChangesForV380 extends Migration
*/
public function down()
{
//
Schema::drop('export_jobs');
}
/**