Packages

o

play.api.db.evolutions

OfflineEvolutions

object OfflineEvolutions

Can be used to run off-line evolutions, i.e. outside a running application.

Source
Evolutions.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OfflineEvolutions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applyScript(appPath: File, classloader: ClassLoader, dbApi: DBApi, dbName: String, autocommit: Boolean = true, schema: String = "", metaTable: String = "play_evolutions", substitutionsMappings: Map[String, String] = Map.empty, substitutionsPrefix: String = "$evolutions{{{", substitutionsSuffix: String = "}}}", substitutionsEscape: Boolean = true): Unit

    Computes and applies an evolutions script.

    Computes and applies an evolutions script.

    appPath

    the application path

    classloader

    the classloader used to load the driver

    dbApi

    the database api for managing application databases

    dbName

    the database name

    schema

    The schema where all the play evolution tables are saved in

    metaTable

    Table to keep evolutions' meta data

    substitutionsMappings

    Mappings of variables (without the prefix and suffix) and their replacements.

    substitutionsPrefix

    Prefix of the variable to substitute, e.g. "$evolutions

    ".
    @param substitutionsSuffix Suffix of the variable to substitute, e.g. "

    ".

    substitutionsEscape

    Whetever escaping of variables is enabled via a preceding "!". E.g. "!$evolutions

    my_variable

    " ends up as "$evolutions

    my_variable

    " in the final sql instead of replacing it with its substitution.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def resolve(appPath: File, classloader: ClassLoader, dbApi: DBApi, dbName: String, revision: Int, schema: String = "", metaTable: String = "play_evolutions"): Unit

    Resolve an inconsistent evolution.

    Resolve an inconsistent evolution.

    appPath

    the application path

    classloader

    the classloader used to load the driver

    dbApi

    the database api for managing application databases

    dbName

    the database name

    revision

    the revision

    schema

    The schema where all the play evolution tables are saved in

  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped