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:
parent
10bad5dd9d
commit
92a26092b3
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user