#!/bin/sh
export PGPASSWORD=PYnuOIXNbkVOvdTL
P="psql -h 127.0.0.1 -U bgar1_delta_com -d bgar1_delta_com_ingredi"
for t in fixed_config public_site_config user_config auth_object auth_object_attribute domain domain_account; do
  echo "===== $t"
  $P -tA -c "select count(*) from $t" 2>&1
  $P -x -c "select * from $t limit 4" 2>&1 | cut -c1-300 | head -60
done
