Home >
Back-end > Use mongo Spring projects, how to perform database application startup initialization script?
Use mongo Spring projects, how to perform database application startup initialization script?
With H2 database before, in the SRC/main/resources directory down the name of the specific SQL script can initialize the database, but changed after the mongo, even with different original SQL syntax, using the import. SQL script doesn't work, so the Spring project use mongo, how to perform database application startup initialization script?