Count rows correctly
Pgsql migrations
Stop postgres halting the transaction on errors