I\'m storing time series in a postgresql database. There is a timeseries table and a timeseries_values table containing the actual values (created using a generated migratio