Properties file: spring.datasource.initialization-mode=always YAML file: spring: datasource: initialization-mode: always