fix deletions on postgres (MIGRATION), disallow negative numbers