Package play.db.evolutions
Class Evolution
- Object
-
- play.db.evolutions.Evolution
-
public final class Evolution extends Object
An evolution.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getRevision()
Get the revision of the evolution.String
getSqlDown()
Get the SQL script for tearing the evolution down.String
getSqlUp()
Get the SQL script for bringing the evolution up.int
hashCode()
-
-
-
Method Detail
-
getRevision
public int getRevision()
Get the revision of the evolution.- Returns:
- The revision of the evolution to create.
-
getSqlUp
public String getSqlUp()
Get the SQL script for bringing the evolution up.- Returns:
- the sql script.
-
getSqlDown
public String getSqlDown()
Get the SQL script for tearing the evolution down.- Returns:
- the sql script.
-
-