Add a tool to regenerate the DB on minor schema changes