playframework-evolutions Questions
2
Solved
With the Play Framework 2.1
I have the following SQL defined in my evolution:
CREATE OR REPLACE FUNCTION idx(myArray anyarray, myElement anyelement) RETURNS int AS $$
SELECT i FROM (
SELECT gen...
Ureter asked 6/3, 2013 at 0:27
2
Solved
I have problems with evolutions when running tests in play framework using
playframework v2.6.6 for scala
play-slick v3.0.2
play-slick-evolutions v3.0.2
The test looks like this:
class TestFoo...
Obligee asked 27/10, 2017 at 22:7
0
We are using Play 2.7 (Java) in production. We have a set of common Ebean models (as an external library/jar) that are shared between different Play projects but we are stuck because of Play Evolut...
Dative asked 11/2, 2019 at 16:55
2
I migrated a Play project from Version 2.3.4 to 2.4.2. The projects uses JPA (Hibernate) and Evolutions. I have an initial Evolutions SQL script, which fills the database with some sample data. Thi...
Everetteverette asked 19/7, 2015 at 14:4
5
Solved
I would like to manually run my evolution script at the beginning of each test file. I'm working with Play! 2.4 and Slick 3.
According to the documentation, the way to go seems to be:
Evolutions....
Inevasible asked 28/10, 2015 at 13:52
2
Solved
I have a simple model in Play Framework 2, and I would like to specify a default value to be inserted on a specify INT column if none is provided when the INSERT is performed.
Model:
@Entity
@Tab...
Lido asked 4/2, 2014 at 15:9
1
I've got an environment where I'm using multiple databases (A and B) with different sets of evolutions for each, thusfar completely successfully. However, one set of database evolutions always gets...
Valona asked 11/2, 2014 at 0:51
2
Solved
I am still developing first version of my application on play 2. How could I regenerate evolution scripts?
Deuteranope asked 29/5, 2012 at 21:25
2
Solved
This question might seem stupid, but I cannot find any instruction on how to roll back an evolution in Play 2.0. Google only finds pages which say that the "Downs" section of an evolution file is u...
Whisler asked 9/4, 2012 at 5:19
1
Solved
I have the problem that the play database evolution on the deployed server is in inconsistent state again and again. I don't understand what's the problem.
All the tests work fine (in memory)
I ...
Thelmathem asked 9/7, 2013 at 18:46
2
Solved
So, I'm trying to deploy my very simple Play Framework 2.1.1 app but whenever I pass flags through the command line for port and to apply database evolutions, they are ignored.
For example:
sud...
Immigrate asked 24/6, 2013 at 20:48
2
Solved
It seems that whenever I change my models, Play Framework asks me to run a script that deletes my entire schema and recreates it. Obviously this won't work for production, so what is the proper way...
Amalamalbena asked 30/1, 2013 at 23:45
1
Solved
Is it to possible mark evolutions as applied in playframework 2?
Scenario: I had to change an already applied evolution file because it was incompatible with H2 causing the remaining evolutions no...
Beal asked 6/9, 2012 at 17:36
1
© 2022 - 2024 — McMap. All rights reserved.