Fixed trying to create database tables without using withDynSession.