Skip to content

Commit

Permalink
migrations version revert
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-stanek committed Sep 28, 2023
1 parent 3f64485 commit d9ac414
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 207 deletions.
6 changes: 3 additions & 3 deletions app/Commands/BackupDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ protected function configure(): void
*/
protected function execute(InputInterface $input, OutputInterface $output): int
{
$host = $this->em->getConnection()->getParams()['primary']['host'];
$user = $this->em->getConnection()->getParams()['primary']['username'];
$password = $this->em->getConnection()->getParams()['primary']['password'];
$host = $this->em->getConnection()->getParams()['host'];
$user = $this->em->getConnection()->getParams()['username'];
$password = $this->em->getConnection()->getParams()['password'];
$dbname = $this->em->getConnection()->getDatabase();
$timestamp = (new DateTimeImmutable())->format('YmdHi');

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"contributte/translation": "^2.0",

"nettrine/orm": "^0.8",
"nettrine/migrations": "^0.8",
"nettrine/migrations": "^0.7",
"beberlei/doctrineextensions": "^1.3",
"dg/mysql-dump": "^1.5",

Expand Down
Loading

0 comments on commit d9ac414

Please sign in to comment.