Depending on the version and configuration of your H2 database AUTO_INCREMENT might not be supported.
AUTO_INCREMENT
See this answer for a variety of how to get the same effective result with a more modern syntax.