ResourceEvolutionsReader

play.api.db.evolutions.ResourceEvolutionsReader

Evolutions reader that reads evolutions from resources, for example, the file system or the classpath

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract 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.

Concrete methods

Read the evolutions for the given db

Read the evolutions for the given db

Attributes