You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when I want to migrate an entity with the terminal command "php bin/console make:migration" which has a ManyToOne relationship.
Just before I create an entity via the command "php bin/console make:entity" which has several fields (title VARCHAR, slug VARCHAR, content TEXT, category MANY TO ONE).
After the migration command, when I go to see in the migration file, in the up function I have this:
My entity file
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected: 5.0, 4.4
Description
Hello,
I have a problem when I want to migrate an entity with the terminal command "php bin/console make:migration" which has a ManyToOne relationship.
Just before I create an entity via the command "php bin/console make:entity" which has several fields (title VARCHAR, slug VARCHAR, content TEXT, category MANY TO ONE).
After the migration command, when I go to see in the migration file, in the up function I have this:
My entity file
The text was updated successfully, but these errors were encountered: