Fix for index
This commit is contained in:
parent
f739976de2
commit
280bf559b4
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ class AddSourceCurrencyToExpenses extends Migration
|
|||
$table->renameColumn('currency_id', 'invoice_currency_id');
|
||||
}
|
||||
|
||||
$table->unsignedInteger('expense_currency_id')->nullable();
|
||||
$table->unsignedInteger('expense_currency_id')->nullable()->index();
|
||||
});
|
||||
|
||||
Schema::table('expenses', function (Blueprint $table) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue