Fix rollback on error while creating db structure