title: Spring JPA - Hibernate not adding columns to the table
body: <p>I saw so many answers here, but couldn't find the one that could solve my problem.</p>
  <p>problem:  When I add the field in my entity class, hibernate does not update it in mysql automatically so I have to do it manually which is annoying.</p>
  <p>Here is my application.properties content:</p>
  <pre><code>spring.datasource.url=jdbc:mysql://127.0.0.1:3306/mysql?createDatabaseIfNotExist=true&amp;autoReconnect=true
  spring.datasource.username=root
  spring.datasource.password=
  spring.datasource.driverClassName=com.mysql.jdbc.Driver
  spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
  spring.jpa.generate-ddl=true
  spring.jpa.hibernate.ddl-auto=update
  </code></pre>
  <p>Thanks in advance!</p>