Deprecated configuration property 'spring.datasource.initialization-mode'

I was able to figure it out by changing

spring.datasource.initialization-mode=always

to

spring.sql.init.mode=always

and renaming data.sql to import.sql