EnvironmentEvolutionsReader

play.api.db.evolutions.EnvironmentEvolutionsReader
@Singleton

Read evolution files from the application environment.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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.

Attributes

Returns

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

Inherited methods

Read the evolutions for the given db

Read the evolutions for the given db

Attributes

Inherited from:
ResourceEvolutionsReader