play.api.db

evolutions

package evolutions

Visibility
  1. Public
  2. All

Type Members

  1. class ApplicationEvolutions extends AnyRef

    Run evolutions on application startup.

  2. class ApplicationEvolutionsProvider extends Provider[ApplicationEvolutions]

    Annotations
    @Singleton()
  3. class ClassLoaderEvolutionsReader extends ResourceEvolutionsReader

    Evolutions reader that reads evolution files from a class loader.

  4. class DatabaseEvolutions extends AnyRef

    Evolutions for a particular database.

  5. class DefaultEvolutionsApi extends EvolutionsApi

    Default implementation of the evolutions API.

  6. class DefaultEvolutionsConfig extends EvolutionsConfig

    Default evolutions configuration.

  7. class DefaultEvolutionsConfigParser extends Provider[EvolutionsConfig]

    A provider that creates an EvolutionsConfig from the play.

  8. case class DefaultEvolutionsDatasourceConfig(enabled: Boolean, autocommit: Boolean, useLocks: Boolean, autoApply: Boolean, autoApplyDowns: Boolean) extends EvolutionsDatasourceConfig with Product with Serializable

    Default evolutions datasource configuration.

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

    A DOWN Script to run on the database.

  10. class DynamicEvolutions extends AnyRef

    Default implementation for optional dynamic evolutions.

  11. class EnvironmentEvolutionsReader extends ResourceEvolutionsReader

    Read evolution files from the application environment.

  12. case class Evolution(revision: Int, sql_up: String = "", sql_down: String = "") extends Product with Serializable

    An SQL evolution - database changes associated with a software version.

  13. trait EvolutionsApi extends AnyRef

    Evolutions API.

  14. trait EvolutionsComponents extends AnyRef

    Components for default implementation of the evolutions API.

  15. trait EvolutionsConfig extends AnyRef

    Evolutions configuration for all datasources.

  16. trait EvolutionsDatasourceConfig extends AnyRef

    Evolutions configuration for a given datasource.

  17. class EvolutionsModule extends Module

    Default module for evolutions API.

  18. trait EvolutionsReader extends AnyRef

    Reader for evolutions

  19. class EvolutionsWebCommands extends HandleWebCommandSupport

    Web command handler for applying evolutions on application start.

  20. case class InconsistentDatabase(db: String, script: String, error: String, rev: Int) extends RichDescription with Product with Serializable

    Exception thrown when the database is in an inconsistent state.

  21. case class InvalidDatabaseRevision(db: String, script: String) extends RichDescription with Product with Serializable

    Exception thrown when the database is not up to date.

  22. abstract class ResourceEvolutionsReader extends EvolutionsReader

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

  23. trait Script extends AnyRef

    A Script to run on the database.

  24. class SimpleEvolutionsReader extends EvolutionsReader

    Simple map based implementation of the evolutions reader.

  25. case class UpScript(evolution: Evolution) extends Script with Product with Serializable

    An UP Script to run on the database.

Value Members

  1. object ClassLoaderEvolutionsReader

    Evolutions reader that reads evolution files from a class loader.

  2. object Evolutions

    Defines Evolutions utilities functions.

  3. object OfflineEvolutions

    Can be used to run off-line evolutions, i.

  4. object SimpleEvolutionsReader

    Simple map based implementation of the evolutions reader.

  5. object ThisClassLoaderEvolutionsReader extends ClassLoaderEvolutionsReader

    Evolutions reader that reads evolution files from its own classloader.

Ungrouped