1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-17 16:42:48 +01:00

Fix for migration

This commit is contained in:
Hillel Coren 2017-01-03 12:11:31 +02:00
parent 10bad5dd9d
commit 92a26092b3

View File

@ -29,6 +29,7 @@ class AddInvoiceSignature extends Migration
$table->string('utm_content')->nullable(); $table->string('utm_content')->nullable();
}); });
if (Utils::isNinja()) {
Schema::table('payment_methods', function($table) Schema::table('payment_methods', function($table)
{ {
$table->unsignedInteger('account_gateway_token_id')->nullable()->change(); $table->unsignedInteger('account_gateway_token_id')->nullable()->change();
@ -51,6 +52,7 @@ class AddInvoiceSignature extends Migration
}); });
} }
} }
}
/** /**
* Reverse the migrations. * Reverse the migrations.