[DBAL-77] Mysql Numeric / Decimal fields Created: 13/Dec/10 Updated: 04/Jan/13 Resolved: 15/Mar/12 |
|
| Status: | Closed |
| Project: | Doctrine DBAL |
| Component/s: | None |
| Affects Version/s: | 2.0.0-BETA4, 2.0, 2.0.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Eugene | Assignee: | Benjamin Eberlei |
| Resolution: | Can't Fix | Votes: | 2 |
| Labels: | None | ||
| Environment: |
mysql 5.1.49 for debian-linux-gnu (x86_64), Ubuntu 10.10 Doctrine DBAL Beta4 Doctrine ORM Beta4 Doctrine Common RC1 |
||
| Description |
|
class product { generate SQL create table product { if you have a field in a database type DECIMAL doctrine tries to doctrine orm:schema-tool but mysql ignore the alter, as a result of these diff stretch from |
| Comments |
| Comment by Benjamin Eberlei [ 13/Dec/10 ] |
|
This is fixed in RC1 or RC2. |
| Comment by Eugene [ 20/Jan/11 ] |
|
checked for the version of doctrine 2.1.0-DEV |
| Comment by Oleg Anashkin [ 31/Jan/11 ] |
|
I have the same issue with the latest doctrine build. Please fix it because it makes schema migration scripts dirty with redundant changes. |
| Comment by Benjamin Eberlei [ 04/Mar/11 ] |
|
I cannot reproduce this, does this happen if you also specify precision=10 ? |
| Comment by Alexander [ 15/Mar/12 ] |
|
Closing until someone can provide more feedback. |
| Comment by Joel Simpson [ 04/Jan/13 ] |
|
I am seeing this bug for a definition specified as:
Doctrine Command Line Interface version 2.3.2-DEV |