[英]Is there any way to use the Play DB evolutions in Spring-boot application
[英]Is there a way to choose the names of the evolutions file in Play?
我正在使用Play的演變! (2.5),由於我的項目正在增長,所以我以23.sql文件結尾(在我的evolutions conf文件夾中有22個n.sql文件之后)。
檢索信息開始變得困難。
有沒有辦法用不同的方式命名這些文件,例如,用addEventTable.sql代替24.sql?
當前未使用默認的進化機制。 但是,您可以使用類似於flyway-play的方法 ,使您可以擁有名為V1__Create_person_table.sql
, V2__Add_people.sql
等的演進文件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.