o

play.api.db.evolutions

ThisClassLoaderEvolutionsReader

object ThisClassLoaderEvolutionsReader extends ClassLoaderEvolutionsReader

Evolutions reader that reads evolution files from its own classloader. Only suitable for simple (flat) classloading environments.

Source
EvolutionsApi.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThisClassLoaderEvolutionsReader
  2. ClassLoaderEvolutionsReader
  3. ResourceEvolutionsReader
  4. EvolutionsReader
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def evolutions(db: String): Seq[Evolution]

    Read the evolutions for the given db

    Read the evolutions for the given db

    Definition Classes
    EvolutionsReader
  2. def loadResource(db: String, revision: Int): Option[InputStream]

    Load the evolutions resource for the given database and revision.

    Load the evolutions resource for the given database and revision.

    returns

    An InputStream to consume the resource, if such a resource exists.

    Definition Classes
    ResourceEvolutionsReader