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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.