Fails to upgrade from db v3 to v6 with "cannot start a transaction within a transaction" error solved by adding "commit;" at the top of updates/db/3_4.sql