mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for migration
This commit is contained in:
parent
28804b0068
commit
ff0867c9fb
@ -33,6 +33,15 @@ class SupportNewPricing extends Migration
|
|||||||
$table->unsignedInteger('client_id')->nullable()->change();
|
$table->unsignedInteger('client_id')->nullable()->change();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// This may fail if the table was created as MyISAM
|
||||||
|
try {
|
||||||
|
Schema::table('activities', function (Blueprint $table) {
|
||||||
|
$table->dropForeign('activities_client_id_foreign');
|
||||||
|
});
|
||||||
|
} catch (Exception $e) {
|
||||||
|
// do nothing
|
||||||
|
}
|
||||||
|
|
||||||
// https://github.com/invoiceninja/invoiceninja/pull/950
|
// https://github.com/invoiceninja/invoiceninja/pull/950
|
||||||
Schema::table('accounts', function (Blueprint $table) {
|
Schema::table('accounts', function (Blueprint $table) {
|
||||||
$table->integer('start_of_week');
|
$table->integer('start_of_week');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user