I was able to get it to create the table with memory but now that I changed to to a file it wont create the table on the first run.
I used spring.datasource.initialization-mode=always
but after the first run it would just break.
Here is all I have right now:
spring.h2.console.enabled=true
spring.datasource.initialization-mode=always
#spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.url=jdbc:h2:file:./data/maindb
I've looked around but count find an answer that helped.