This is a barebone Symfony project in order to isolate and help explain this issue.
How to reproduce:
- Checkout code
- Setup a MySQL database
- Create a .env file based on .env.dist and configure
DATABASE_URL
environmental variable - Install dependencies:
composer install
- Run migrations:
php bin/console doctrine:migrations:migrate
- Load fixtures:
php bin/console doctrine:fixtures:load
- Start web server:
php bin/console server:run
- navigate to home route (default: http://127.0.0.1:8000/home)
I expect Post 1
to be removed from the post
table.
Post 1
still exists in the post
table.