biigle / core

:large_blue_circle: Application core of BIIGLE
https://biigle.de
GNU General Public License v3.0
12 stars 16 forks source link

Convert json columns to jsonb #802

Open mzur opened 3 months ago

mzur commented 3 months ago

We should convert all json database columns (attrs etc.) to jsonb (also from modules). This will speed up queries based on these columns. This article says that the only reasons to use json would be if you have lots of INSERTs, no queries based on the columns or the JSON indentation should be preserved. None of these apply to us.