How to fix Auto Increment that is populating high numbers in bd Heroku?

0

I'm coding a RESTful API with Spring Boot v.2.0 and so on. The thing is, when I try to make a deploy for Heroku using migration ( Flyway ) ids get high values.

My model or entity of User is with id like this:

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

And even if I do insert into the "big hand" through MySQL Workbench it gets the id like this:

Hellp !

    
asked by anonymous 08.06.2018 / 21:25

0 answers