case class Evolution(revision: Int, sql_up: String = "", sql_down: String = "") extends Product with Serializable
An SQL evolution - database changes associated with a software version.
An evolution includes ‘up’ changes, to upgrade to the next version, as well as ‘down’ changes, to downgrade the database to the previous version.
- revision
revision number
- sql_up
the SQL statements for UP application
- sql_down
the SQL statements for DOWN application
- Source
- Evolutions.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Evolution
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
Evolution(revision: Int, sql_up: String = "", sql_down: String = "")
- revision
revision number
- sql_up
the SQL statements for UP application
- sql_down
the SQL statements for DOWN application