I am using liquibase to insert default user in database in admin table. I am using my web application (Spring boot, Hibernate ) to register new users. After populating database with default admin user, when i first try to add new user from web application in same admin table i get duplicate key value violates unique constraint Key already exists error
In my entity i have used GenerationType AUTO I have also tried with using SEQ and Table strategy but no fix.
How do i fix this issue so when a new user is added after default user added from liquibase it does not give you error
In my entity i have used GenerationType AUTO I have also tried with using SEQ and Table strategy but no fix.
How do i fix this issue so when a new user is added after default user added from liquibase it does not give you error