Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Migration with Symfony 4.4 #34503

Closed
AlexandrePetrone opened this issue Nov 22, 2019 · 1 comment
Closed

Bug Migration with Symfony 4.4 #34503

AlexandrePetrone opened this issue Nov 22, 2019 · 1 comment

Comments

@AlexandrePetrone
Copy link

AlexandrePetrone commented Nov 22, 2019

Symfony version(s) affected: 4.4

Description
When I launch make:migration after create a relation, Doctrine doesn't see the modification.

How to reproduce

  • Create a new project Symfony on version 4.4
  • Create an Entity Article with title and slug fields (string, 255)
  • Make a migration and doctrine:migrations:migrate
  • Create an Entity Category with title and slug fields (string, 255)
  • Make a migration and doctrine:migrations:migrate
  • Update Article Entity with command line an add a ManyToMany relation between Article and Category
  • Try a migration

At this moment the command line return : [WARNING] No database changes were detected.

The same process on 4.3 project work.

@nicolas-grekas
Copy link
Member

See symfony/recipes#688

@xabbuh xabbuh closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants