2013-02-21 28 views

回答

2

According to the source files,遺憾的是它是不可能使用其他名稱:

def updateEvolutionScript(db: String = "default", revision: Int = 1, comment: String = "Generated", ups: String, downs: String)(implicit application: Application) { 
    ... 
    val evolutions = application.getFile("conf/evolutions/" + db + "/" + revision + ".sql"); 

revision參數是Int類型,而不是String

相關問題