mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Migration for 4.7.4
This commit is contained in:
parent
fba847dd28
commit
9fb049991f
37
database/migrations/2018_04_29_174524_changes_for_v474.php
Normal file
37
database/migrations/2018_04_29_174524_changes_for_v474.php
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class ChangesForV474
|
||||||
|
*/
|
||||||
|
class ChangesForV474 extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::table(
|
||||||
|
'import_jobs',
|
||||||
|
function (Blueprint $table) {
|
||||||
|
$table->string('provider', 50)->after('file_type')->default('');
|
||||||
|
$table->string('stage', 50)->after('status')->default('');
|
||||||
|
$table->longText('transactions')->after('extended_status');
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user