put the SQL schema changes in a transaction