Replace duplicate txerror literals with new func.
Replace duplicate txerror literals with new func.

rubenv/sql-migrate,nicklaw5/sql-migrate,yageek/sql-migrate,yageek/sql-migrate,nicklaw5/sql-migrate,rubenv/sql-migrate