log applied migrations
This commit is contained in:
parent
8f8ca49e4b
commit
31b29e0a56
|
@ -108,6 +108,8 @@ class Db_Migrations {
|
||||||
$this->pdo->commit();
|
$this->pdo->commit();
|
||||||
|
|
||||||
Debug::log("Migration finished, current version: " . $this->get_version(), Debug::LOG_VERBOSE);
|
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 {
|
} else {
|
||||||
Debug::log("Migration failed: schema file is empty or missing.", Debug::LOG_VERBOSE);
|
Debug::log("Migration failed: schema file is empty or missing.", Debug::LOG_VERBOSE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue