mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for migrations
This commit is contained in:
parent
c0eeaeba3f
commit
3517529626
@ -645,7 +645,7 @@ if (!defined('CONTACT_EMAIL')) {
|
|||||||
define('NINJA_APP_URL', env('NINJA_APP_URL', 'https://app.invoiceninja.com'));
|
define('NINJA_APP_URL', env('NINJA_APP_URL', 'https://app.invoiceninja.com'));
|
||||||
define('NINJA_DOCS_URL', env('NINJA_DOCS_URL', 'http://docs.invoiceninja.com/en/latest'));
|
define('NINJA_DOCS_URL', env('NINJA_DOCS_URL', 'http://docs.invoiceninja.com/en/latest'));
|
||||||
define('NINJA_DATE', '2000-01-01');
|
define('NINJA_DATE', '2000-01-01');
|
||||||
define('NINJA_VERSION', '2.9.4' . env('NINJA_VERSION_SUFFIX'));
|
define('NINJA_VERSION', '2.9.5' . env('NINJA_VERSION_SUFFIX'));
|
||||||
|
|
||||||
define('SOCIAL_LINK_FACEBOOK', env('SOCIAL_LINK_FACEBOOK', 'https://www.facebook.com/invoiceninja'));
|
define('SOCIAL_LINK_FACEBOOK', env('SOCIAL_LINK_FACEBOOK', 'https://www.facebook.com/invoiceninja'));
|
||||||
define('SOCIAL_LINK_TWITTER', env('SOCIAL_LINK_TWITTER', 'https://twitter.com/invoiceninja'));
|
define('SOCIAL_LINK_TWITTER', env('SOCIAL_LINK_TWITTER', 'https://twitter.com/invoiceninja'));
|
||||||
|
@ -30,7 +30,9 @@ class SupportNewPricing extends Migration
|
|||||||
// https://github.com/invoiceninja/invoiceninja/pull/955
|
// https://github.com/invoiceninja/invoiceninja/pull/955
|
||||||
Schema::table('activities', function (Blueprint $table) {
|
Schema::table('activities', function (Blueprint $table) {
|
||||||
$table->integer('task_id')->after('invitation_id')->nullable();
|
$table->integer('task_id')->after('invitation_id')->nullable();
|
||||||
$table->unsignedInteger('client_id')->nullable()->change();
|
if (Schema::hasColumn('activities', 'client_id')) {
|
||||||
|
$table->unsignedInteger('client_id')->nullable()->change();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// This may fail if the table was created as MyISAM
|
// This may fail if the table was created as MyISAM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user