1
0
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:
David Bomba 2022-10-10 18:45:33 +11:00
parent 46aa562723
commit 9b723f11cb

View File

@ -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']);
});
} }
/** /**