title: Switching from H2 to PostgreSQL with spring boot
body: <p>I have a spring boot application working fine on a H2 DB. If I want to switch to postgresQL I get errors.</p>
  
  <pre><code>spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
  spring.datasource.username=postgres
  </code></pre>
  
  <p>Errors: </p>
  
  <pre><code>org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "drop table if exists 
  user cascade" via JDBC Statement
  ...
  Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "user"
  ...
  org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create table user (id int8 not null, active int4 not null, first_name varchar(255), last_name varchar(255), password varchar(255), role varchar(255), username varchar(255), primary key (id))" via JDBC Statement
  </code></pre>