Commit 81d47a23 authored by damb's avatar damb
Browse files

Correct column type (QuakeML Quantity)

Note, when creating a QuakeML quantity field the type of the '*_value'
field was not set properly.
parent 23a34576
......@@ -812,7 +812,8 @@ def QuantityMixin(name, quantity_type, column_prefix=None):
@declared_attr
def _value(cls):
return Column('%svalue' % column_prefix, Float, nullable=False)
return Column('%svalue' % column_prefix, sql_type,
nullable=False)
return _value
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment