aces / Loris

LORIS is a web-accessible database solution for longitudinal multi-site studies.
GNU General Public License v3.0
143 stars 172 forks source link

Should be able to specify precision of numbers in LINST format #9295

Open driusan opened 3 months ago

driusan commented 3 months ago

The LINST format uses decimal(14, 4) (previously decimal(10,0)) for the data type. This is not necessarily the right type for all fields, depending on what type of question is being asked / data collected.

We should have a way to specify the precision of the field so that bigger/smaller numbers can be stored in the SQL tables.

regisoc commented 3 months ago

Ref: #9277