1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Fix for index

This commit is contained in:
Hillel Coren 2016-12-04 11:49:47 +02:00
parent 441ff9bceb
commit d7cb166419

View File

@ -21,7 +21,7 @@ class AddSourceCurrencyToExpenses extends Migration
$table->renameColumn('currency_id', 'invoice_currency_id');
}
$table->unsignedInteger('expense_currency_id');
$table->unsignedInteger('expense_currency_id')->nullable()->index();
});
Schema::table('expenses', function (Blueprint $table) {