然后我们使用console,进入Scala控制台,注意此时SBT自动把build.sbt中引用到的库比如slick,mysql添加到Scala控制台,我们使用如下命令: scala.slick.model.codegen.SourceCodeGenerator.main