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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -