Packages

c

play.api.db.evolutions

DownScript

case class DownScript(evolution: Evolution) extends Script with Product with Serializable

A DOWN Script to run on the database.

evolution

the original evolution

Source
Evolutions.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Script, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DownScript
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Script
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DownScript(evolution: Evolution)

    evolution

    the original evolution

Value Members

  1. val evolution: Evolution

    Original evolution.

    Original evolution.

    Definition Classes
    DownScriptScript
  2. def sql: String

    The complete SQL to be run.

    The complete SQL to be run.

    Definition Classes
    DownScriptScript
  3. def statements: Seq[String]

    The sql string separated into constituent ";"-delimited statements.

    The sql string separated into constituent ";"-delimited statements.

    Any ";;" found in the sql are escaped to ";".

    Definition Classes
    Script