Separating out each table into its own transaction