summaryrefslogtreecommitdiff
path: root/app/Schema/Migration9.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Schema/Migration9.php')
-rw-r--r--app/Schema/Migration9.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Schema/Migration9.php b/app/Schema/Migration9.php
index f3ca2b715d..bd1ed359e7 100644
--- a/app/Schema/Migration9.php
+++ b/app/Schema/Migration9.php
@@ -16,6 +16,7 @@
namespace Fisharebest\Webtrees\Schema;
use Fisharebest\Webtrees\Database;
+use Fisharebest\Webtrees\DebugBar;
use PDOException;
/**
@@ -32,6 +33,8 @@ class Migration9 implements MigrationInterface {
"ALTER TABLE `##dates` CHANGE d_type d_type ENUM('@#DGREGORIAN@', '@#DJULIAN@', '@#DHEBREW@', '@#DFRENCH R@', '@#DHIJRI@', '@#DROMAN@', '@#DJALALI@')"
);
} catch (PDOException $ex) {
+ DebugBar::addThrowable($ex);
+
// Already been run?
}
@@ -41,6 +44,8 @@ class Migration9 implements MigrationInterface {
"ALTER TABLE `##name` DROP INDEX ix2, ADD INDEX ix2 (n_surn, n_file, n_type, n_id), ADD INDEX ix3 (n_givn, n_file, n_type, n_id)"
);
} catch (PDOException $ex) {
+ DebugBar::addThrowable($ex);
+
// Already been run?
}
}