symfony - Dynamically add new column/data to existing Entity -


is there way dynamically add new column existing entity (project needs)?

i can use sql command alter table add new column , later on can call

 php bin/console doctrine:mapping:import --force acmeblogbundle  

and

 php bin/console doctrine:generate:entities acmeblogbundle 

but there other (better way) dynamically add new columns entity or table?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -