I created a table with a PRICE property but I made it to be an Integer and I would want to change it to a FLOAT type.
The problem is that I made a migration and now the problem is also on database so I cannot change simply the PHP code I think.
CodePudding user response:
You can change property type in your entity class (also in getter & setter ) And make a :
" symfony console doctrine:schema:update -F " to update your database.