diff --git a/src/DatabaseContext.php b/src/DatabaseContext.php deleted file mode 100644 index 24b078c..0000000 --- a/src/DatabaseContext.php +++ /dev/null @@ -1,28 +0,0 @@ -connection; - } - - public function getQueryCount(): int { - $result = $this->connection->query('SHOW SESSION STATUS LIKE "Questions"'); - return $result->next() ? $result->getInteger(1) : 0; - } - - public function createMigrationManager(): DbMigrationManager { - return new DbMigrationManager($this->connection); - } - - public function createMigrationRepo(): IDbMigrationRepo { - return new FsDbMigrationRepo(SAT_DIR_MIGRATIONS); - } -}