mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for document indexing
This commit is contained in:
parent
46aa562723
commit
9b723f11cb
@ -20,6 +20,17 @@ return new class extends Migration
|
|||||||
Schema::table('expenses', function (Blueprint $table) {
|
Schema::table('expenses', function (Blueprint $table) {
|
||||||
$table->index(['invoice_id', 'deleted_at']);
|
$table->index(['invoice_id', 'deleted_at']);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Schema::table('company_tokens', function (Blueprint $table) {
|
||||||
|
$table->dropIndex('company_tokens_token_index');
|
||||||
|
$table->index(['token','deleted_at']);
|
||||||
|
});
|
||||||
|
|
||||||
|
Schema::table('invoice_invitations', function (Blueprint $table) {
|
||||||
|
$table->dropIndex('invoice_invitations_key_index');
|
||||||
|
$table->index(['key','deleted_at']);
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user