Skip to content

Commit

Permalink
Merge pull request #31 from AdamSerafini/duration_type
Browse files Browse the repository at this point in the history
Add support for DurationField.
  • Loading branch information
Deepwalker committed Jun 23, 2015
2 parents d6b6684 + b68c948 commit 0d02268
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aldjemy/table.py
Expand Up @@ -21,6 +21,7 @@
'DateTimeField': simple(types.DateTime),
'DecimalField': lambda x: types.Numeric(scale=x.decimal_places,
precision=x.max_digits),
'DurationField': simple(types.Interval),
'FileField': varchar,
'FilePathField': varchar,
'FloatField': simple(types.Float),
Expand Down

0 comments on commit 0d02268

Please sign in to comment.