Hi, i am trying to create the table user_role using the script from the tutorial and it gives the…
Arman Abelian
2

Hi Arman Abelian,

You don’t have to create the tables, Spring will automatically create your database structure based on the model (please search information about “spring.jpa.hibernate.ddl-auto”), basically you only need to insert the role INSERT INTO `role` VALUES (1,’ADMIN’); and then it should work.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.