Migration for 4.7.4

This commit is contained in:
James Cole 2018-04-29 18:07:47 +02:00
parent fba847dd28
commit 9fb049991f
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

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