Fix bug when using decimal in database setupV1