summaryrefslogtreecommitdiff
path: root/app/Schema/Migration2.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Schema/Migration2.php')
-rw-r--r--app/Schema/Migration2.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Schema/Migration2.php b/app/Schema/Migration2.php
index 2ec8923f4f..fb3d85b938 100644
--- a/app/Schema/Migration2.php
+++ b/app/Schema/Migration2.php
@@ -16,6 +16,7 @@
namespace Fisharebest\Webtrees\Schema;
use Fisharebest\Webtrees\Database;
+use Fisharebest\Webtrees\DebugBar;
use PDOException;
/**
@@ -46,6 +47,8 @@ class Migration2 implements MigrationInterface {
"ALTER TABLE `##gedcom` DROP import_gedcom, DROP import_offset"
);
} catch (PDOException $ex) {
+ DebugBar::addThrowable($ex);
+
// Perhaps we have already deleted these columns?
}
}