mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 09:26:29 -06:00
Last attempt.
This commit is contained in:
parent
02b6191d47
commit
bba1ee1264
@ -33,18 +33,21 @@ class ChangesFor325 extends Migration
|
||||
//
|
||||
|
||||
// delete an old index:
|
||||
Schema::table(
|
||||
'budget_limits', function (Blueprint $table) {
|
||||
//$table->dropIndex('unique_ci_combo');
|
||||
try {
|
||||
try {
|
||||
Schema::table(
|
||||
'budget_limits', function (Blueprint $table) {
|
||||
//$table->dropIndex('unique_ci_combo');
|
||||
$table->dropUnique('unique_ci_combi');
|
||||
} catch (QueryException $e) {
|
||||
// don't care.
|
||||
} catch (\Exception $e) {
|
||||
// don't care either.
|
||||
|
||||
}
|
||||
);
|
||||
} catch (QueryException $e) {
|
||||
// don't care.
|
||||
} catch (PDOException $e) {
|
||||
// don't care.
|
||||
} catch (\Exception $e) {
|
||||
// don't care either.
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user