Create indexes in bootstrap
Update postgres sql statements to match Panoptes tables.