1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Add activities index

This commit is contained in:
Hillel Coren 2018-01-01 23:09:38 +02:00
parent 3ade00f112
commit 1d28b4a74f

View File

@ -95,6 +95,12 @@ class AddSubdomainToLookups extends Migration
Schema::table('accounts', function ($table) { Schema::table('accounts', function ($table) {
$table->boolean('inclusive_taxes')->default(0); $table->boolean('inclusive_taxes')->default(0);
}); });
if (Utils::isNinja()) {
Schema::table('activities', function ($table) {
$table->index('user_id');
});
}
} }
/** /**