package api

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class CanConcatMigrations[-A, -B, +C] extends AnyRef

    A typeclass to determine the best way to combine migrations, either into a ReversibleMigrationSeq or just a MigrationSeq.

    A typeclass to determine the best way to combine migrations, either into a ReversibleMigrationSeq or just a MigrationSeq. Used when you call '&' on Migrations. Note that the migrations will be flattened; you will not end up with something like MigrationSeq(MigrationSeq(MigrationSeq(migA, migB), migC), migD).

  2. class CanConcatMigrationsLow extends AnyRef
  3. class DerbyDialect extends Dialect[DerbyProfile]
  4. class Dialect[-P <: JdbcProfile] extends AstHelpers

    Base class for database dialects.

    Base class for database dialects. Provides methods that return the dialect-specific SQL strings for performing various database operations. The most important method is perhaps migrateTable, which is called from TableMigration#sql. These methods are to be overridden in database-specific subclasses as needed.

    P

    The corresponding Slick driver type. Not used, but may come in handy in certain situations.

  5. class H2Dialect extends Dialect[H2Profile]
  6. class HsqldbDialect extends Dialect[HsqldbProfile]
  7. trait Migration extends AnyRef

    The base of the migration type hierarchy.

    The base of the migration type hierarchy. Produces a DBIO that runs the migration

  8. case class MigrationSeq(migrations: Migration*) extends Migration with Product with Serializable

    Holds a sequence of Migrations and performs them one after the other.

  9. class MySQLDialect extends Dialect[MySQLProfile] with SimulatedRenameIndex[MySQLProfile]
  10. class OracleDialect extends Dialect[OracleProfile]
  11. class PostgresDialect extends Dialect[PostgresProfile]
  12. trait ReversibleMigration extends Migration

    A Migration that can be reversed; that is, it can provide a corresponding Migration that will undo whatever this migration will do.

  13. class ReversibleMigrationSeq extends MigrationSeq with ReversibleMigration

    Holds a sequence of ReversibleMigrations and performs them one after the other.

  14. class SQLiteDialect extends Dialect[SQLiteProfile] with SimulatedRenameIndex[SQLiteProfile]
  15. trait SimulatedRenameIndex[T <: JdbcProfile] extends AnyRef
  16. trait SqlMigration extends Migration

    A Migration defined in terms of SQL commands.

    A Migration defined in terms of SQL commands. This trait implements apply and instead defines an abstract sql method.

  17. case class TableMigration[T <: jdbc.JdbcProfile.Table[_], A <: Action](tableInfo: TableInfo, actions: List[A])(table: T)(implicit dialect: Dialect[_], withActions: WithActions[A]) extends SqlMigration with AstHelpers with Product with Serializable
  18. class ToReversible[-A <: Migration] extends AnyRef

Value Members

  1. object AddColumnWithInitialValue
  2. object CanConcatMigrations extends CanConcatMigrationsLow
  3. object GenericDialect
  4. object Migration
  5. object SqlMigration

    Convenience factory for SqlMigration

    Convenience factory for SqlMigration

    Example:
    1. SqlMigration("drop table t1", "update t2 set x=10 where y=20")
  6. object TableMigration extends Serializable
  7. object ToReversible

Ungrouped