Answer the question
In order to leave comments, you need to log in
How can one add a field to an existing object (table) when working with doctrine in Symfony?
How can one add a field to an existing object (table) when working with doctrine in Symfony? I thought that I need to connect a bundle with migrations, but I would like a simpler option if possible. Thank you.
Answer the question
In order to leave comments, you need to log in
Locally, you can simply update the schema (see Symfony's Doctrine documentation). If the project is already running somewhere - migrations and only migrations.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question