Permalink
Browse files

changing config to apply db evolutions in prod

  • Loading branch information...
1 parent 10d2d04 commit cf32b42800c0c3c68d351890482a7ef5ee6848aa @retroryan retroryan committed Jan 27, 2012
Showing with 8 additions and 3 deletions.
  1. +2 −2 app/Global.java
  2. +2 −0 conf/application.conf
  3. +1 −1 project/Build.scala
  4. +3 −0 project/plugins.sbt
View
@@ -7,8 +7,8 @@
public class Global extends GlobalSettings {
public void beforeStart(Application app) {
- File applicationPath = app.path();
- OfflineEvolutions.applyScript(applicationPath, app.classloader(), "default");
+ //File applicationPath = app.path();
+ //OfflineEvolutions.applyScript(applicationPath, app.classloader(), "default");
}
View
@@ -23,6 +23,8 @@ db.default.driver=org.postgresql.Driver
db.default.url=${DATABASE_URL}
+applyEvolutions.default=true
+
# Ebean configuration
View
@@ -15,7 +15,7 @@ object ApplicationBuild extends Build {
)
val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
- // Add your own project settings here
+ // Add your own project settings here
)
}
View
@@ -1,5 +1,8 @@
+logLevel := Level.Warn
+
resolvers ++= Seq(
DefaultMavenRepository,
+ Resolver.url("Play", url("https://playframework2.ci.cloudbees.com/job/play2-integrationtest/ws/repository/local/"))(Resolver.ivyStylePatterns),
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
)

0 comments on commit cf32b42

Please sign in to comment.