correctly implement repetable data using postgresql arrays