Skip to content

Commit

Permalink
Fixing issue with create table decimal field missing precision
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Apr 6, 2012
1 parent 45e8329 commit c62fc31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peewee.py
Expand Up @@ -2012,7 +2012,7 @@ class DoubleColumn(FloatColumn):

class DecimalColumn(Column):
db_field = 'decimal'
field_template = '%(column_type)s(%(max_digits)d, %(decimal_places)d)'
template = '%(column_type)s(%(max_digits)d, %(decimal_places)d)'

def get_attributes(self):
return {
Expand Down

0 comments on commit c62fc31

Please sign in to comment.