coleifer/peewee — Issue #60: DecimalField ignores precision
Author: emestee
Created: 2012-03-06 14:02:22+00:00
State: open

At least under MySQL, DecimalField ignores the precision parameters passed to the constructor, and the created table always carries the decimal field with precision 10,5.

Example code:

```python
class Foo(peewee.Model):
foo_field = DecimalField(15,2)

Foo.create_table()
```

Produces a table with foo_field type set to decimal(10,5)