mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Column precision is not specified #7320
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ben29 on GitHub (Feb 12, 2024).
Hi.
I update to last version of doctrine/ORM (3.0)
using Symfony last version.
Getting error:
php bin/console doctrine:schema:update --force --completeAlso
remove the "precision: 2," will not help.
something wrong with decimal type.
@ben29 commented on GitHub (Mar 4, 2024):
any kind of update?
@derrabus - sorry to tag you, but can you help ?
@derrabus commented on GitHub (Mar 6, 2024):
That declaration looks suspicious to me. Doesn't the precision have to be greater than the scale? Apart from that, feel free to dig a little into the issue. I don't have time to do that at the moment.
@ben29 commented on GitHub (Mar 10, 2024):
before version 4
I didn’t put the precision,
only the scale and its working.
something happen with the decimal.
@derrabus commented on GitHub (Mar 10, 2024):
Yes, precision and scale are both mandatory now.
@ben29 commented on GitHub (Mar 10, 2024):
Ok. But it’s not working…
No matter what I try.
@ben29 commented on GitHub (Mar 10, 2024):
I try also:
the error:
I think maybe it doesn't accept the precision at all.