Merge pull request #1772 from burakcakirel/company_id_and_type_index
Add company_id and type index to documents table
This commit is contained in:
commit
d011b8ea47
@ -43,6 +43,8 @@ class CoreV210 extends Migration
|
||||
$table->timestamps();
|
||||
$table->softDeletes();
|
||||
|
||||
$table->index('company_id');
|
||||
$table->index('type');
|
||||
$table->unique(['document_number', 'deleted_at', 'company_id', 'type']);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user