Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Catch a sqlite error.
James Colec5a3de09cdf0
diff --git a/app/database/migrations/2015_01_18_082406_changes_for_325.php b/app/database/migrations/2015_01_18_082406_changes_for_325.phpindex 7c86443bb9..5db32ba627 100644--- a/app/database/migrations/2015_01_18_082406_changes_for_325.php+++ b/app/database/migrations/2015_01_18_082406_changes_for_325.php@@ -1,6 +1,7 @@<?phpuse Illuminate\Database\Migrations\Migration;+use Illuminate\Database\QueryException;use Illuminate\Database\Schema\Blueprint;/**@@ -35,8 +36,13 @@ class ChangesFor325 extends MigrationSchema::table('budget_limits', function (Blueprint $table) {//$table->dropIndex('unique_ci_combo');- $table->dropUnique('unique_ci_combi');- });+ try {+ $table->dropUnique('unique_ci_combi');+ } catch (QueryException $e) {+ // don't care.+ }+ }+ );}