I have sql migrations placed in the recourses folder of the project, but then we needed to create a Java-based migration, which we placed in the same folder: http://i.stack.imgur.com/J8XEH.png
For some reason the Java-based migration is completely ignored: http://i.stack.imgur.com/9mqkk.png
Can I not mix the two types of migrations together?
Java-based migrations must be compiled first. For that they must be under src/main/java, instead of of src/main/resources
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.