KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm following the Play 2.0 tutorial for Scala Everything works fine until I try to push and run it on Heroku. after running "git push heroku master", the server crashes. Checking the logs, I see the following: Starting process with command `target/start -Dhttp.port=37849 -Xmx384m -Xss512k -XX:+UseCompressedOops` 2012-08-13T06:52:45+00:00 app[web.1]: Play server process ID is 2 2012-08-13T06:52:46+00:00 app[web.1]: [info] play - database [default] connected at jdbc:h2:mem:play 2012-08-13T06:52:46+00:00 app[web.1]: [warn] play - Your production database [default] needs evolutions! 2012-08-13T06:52:46+00:00 app[web.1]: 2012-08-13T06:52:46+00:00 app[web.1]: CREATE SEQUENCE task_id_seq; 2012-08-13T06:52:46+00:00 app[web.1]: label varchar(255) 2012-08-13T06:52:46+00:00 app[web.1]: CREATE TABLE task ( 2012-08-13T06:52:46+00:00 app[web.1]: id integer NOT NULL DEFAULT nextval('task_id_seq'), 2012-08-13T06:52:46+00:00 app[web.1]: ); 2012-08-13T06:52:46+00:00 app[web.1]: 2012-08-13T06:52:46+00:00 app[web.1]: # --- Rev:1,Ups - c5e3eee 2012-08-13T06:52:46+00:00 app[web.1]: [warn] play - Run with -DapplyEvolutions.default=true if you want to run them automatically (be careful) 2012-08-13T06:52:46+00:00 app[web.1]: Oops, cannot start the server. 2012-08-13T06:52:46+00:00 app[web.1]: PlayException: Database 'default' needs evolution! [An SQL script need to be run on your database.] 2012-08-13T06:52:46+00:00 app[web.1]: at play.api.db.evolutions.EvolutionsPlugin$$anonfun$onStart$1.apply(Evolutions.scala:422) Any thoughts?
Tags (comma-separated)
Save Edits
Cancel