[#71766110] add postgres validation and indexes to the organizations table