1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +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) {