Commit 12dd2a01 authored by Adrien Di Mascio's avatar Adrien Di Mascio
Browse files

[schema] use "double precision" pg type for FloatArray

parent 8f47519bf7cd
......@@ -16,7 +16,7 @@ def convert_array(values):
# Yams -> SQL type mapping
pghelper.TYPE_MAPPING['IntArray'] = 'integer[]'
pghelper.TYPE_MAPPING['FloatArray'] = 'double[]'
pghelper.TYPE_MAPPING['FloatArray'] = 'double precision[]'
# Python -> SQL conversion
pghelper.TYPE_CONVERTERS['IntArray'] = convert_array
Markdown is supported
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