summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-04 11:33:25 +0300
committerAndrew Dolgov <[email protected]>2021-03-04 11:33:25 +0300
commit31b29e0a56ef6581c5e209c062eee6b3a72a17fe (patch)
treea01d21b6d3354fc045c628bc8d61561637cd7a1b
parent8f8ca49e4b3d06b19f7bef0f918b7425a456c5ac (diff)
log applied migrations
-rw-r--r--classes/db/migrations.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/db/migrations.php b/classes/db/migrations.php
index 4bd72bd09..3008af535 100644
--- a/classes/db/migrations.php
+++ b/classes/db/migrations.php
@@ -108,6 +108,8 @@ class Db_Migrations {
$this->pdo->commit();
Debug::log("Migration finished, current version: " . $this->get_version(), Debug::LOG_VERBOSE);
+
+ Logger::log(E_USER_NOTICE, "Applied migration to version $version for {$this->migrations_table}");
} else {
Debug::log("Migration failed: schema file is empty or missing.", Debug::LOG_VERBOSE);
}