Skip to content

Commit

Permalink
Remove Doctrine migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Sep 4, 2024
1 parent 6b9f2f4 commit 10b4dc3
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ APP_SECRET=28de35e787e86cb435f0312627623283
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
DATABASE_URL="postgresql://sylius_stack:sylius_stack@127.0.0.1:5432/sylius_stack?serverVersion=16&charset=utf8"
###< doctrine/doctrine-bundle ###
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"php": "^8.1",
"doctrine/dbal": "^3",
"doctrine/doctrine-bundle": "^2.12",
"doctrine/doctrine-migrations-bundle": "^3.3",
"doctrine/orm": "^2.0",
"laminas/laminas-stdlib": "^3.18",
"sylius/resource-bundle": "dev-symfony-7",
Expand Down Expand Up @@ -77,7 +76,7 @@
},
"extra": {
"symfony": {
"require": "7.0.*"
"require": "7.1.*"
}
}
}
1 change: 0 additions & 1 deletion config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
BabDev\PagerfantaBundle\BabDevPagerfantaBundle::class => ['all' => true],
Sylius\Bundle\ResourceBundle\SyliusResourceBundle::class => ['all' => true],
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
];
6 changes: 0 additions & 6 deletions config/packages/doctrine_migrations.yaml

This file was deleted.

Empty file removed migrations/.gitignore
Empty file.
13 changes: 0 additions & 13 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,6 @@
"src/Repository/.gitignore"
]
},
"doctrine/doctrine-migrations-bundle": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "3.1",
"ref": "1d01ec03c6ecbd67c3375c5478c9a423ae5d6a33"
},
"files": [
"config/packages/doctrine_migrations.yaml",
"migrations/.gitignore"
]
},
"phpstan/phpstan": {
"version": "1.10",
"recipe": {
Expand Down

0 comments on commit 10b4dc3

Please sign in to comment.