In the application.properties add otherwise an error related to car relation does not exist will be thrown spring.datasource.initialization-mode=always