Browse Source

log applied migrations

master
Andrew Dolgov 1 year ago
parent
commit
31b29e0a56
  1. 2
      classes/db/migrations.php

2
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);
}

Loading…
Cancel
Save