mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Secretly updated some migrations.
This commit is contained in:
parent
c5dc073d49
commit
baecc256f6
@ -29,13 +29,14 @@ class CreateSessionTable extends Migration
|
|||||||
*/
|
*/
|
||||||
public function up()
|
public function up()
|
||||||
{
|
{
|
||||||
Schema::create(
|
Schema::create('sessions', function ($table) {
|
||||||
'sessions', function (Blueprint $table) {
|
|
||||||
$table->string('id')->unique();
|
$table->string('id')->unique();
|
||||||
|
$table->integer('user_id')->nullable();
|
||||||
|
$table->string('ip_address', 45)->nullable();
|
||||||
|
$table->text('user_agent')->nullable();
|
||||||
$table->text('payload');
|
$table->text('payload');
|
||||||
$table->integer('last_activity');
|
$table->integer('last_activity');
|
||||||
}
|
});
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,8 @@ class ChangesForV380 extends Migration
|
|||||||
*/
|
*/
|
||||||
public function down()
|
public function down()
|
||||||
{
|
{
|
||||||
//
|
Schema::drop('export_jobs');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user