Class

com.outworkers.phantom.migrations

DatabaseMigrations

Related Doc: package migrations

Permalink

implicit final class DatabaseMigrations[DB <: dsl.Database[DB]] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DatabaseMigrations
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DatabaseMigrations(db: DB)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def automigrate()(implicit session: Session, space: KeySpace, helper: DatabaseHelper[DB], ec: ExecutionContextExecutor, diffConfig: DiffConfig): MigrationResult[DatabaseDiff[DB, DB]]

    Permalink

    Produces a final list of queries in the correct order than will need to be executed to resolve all database diffs.

    Produces a final list of queries in the correct order than will need to be executed to resolve all database diffs.

    session

    The session in which to execute this operation.

    space

    The keyspace in which the migration queries would execute.

    ec

    The execution context in which to execute the queries.

    diffConfig

    An implicit diff configuration.

    returns

    An ordered list of dependent queries through QueryCollection[Seq that will resolve all conflicts with the schema in the database.

  6. val db: DB

    Permalink
  7. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  9. def migrate(timeout: Duration = defaultDuration)(implicit session: Session, space: KeySpace, helper: DatabaseHelper[DB], ec: ExecutionContextExecutor, diffConfig: DiffConfig): Seq[ResultSet]

    Permalink
  10. def migrateAsync()(implicit session: Session, space: KeySpace, helper: DatabaseHelper[DB], ec: ExecutionContextExecutor, diffConfig: DiffConfig): Future[Seq[ResultSet]]

    Permalink

    Asynchronously executes all migration queries in a one by one fashion.

    Asynchronously executes all migration queries in a one by one fashion.

    session

    The session in which to execute this operation.

    space

    The keyspace in which the migration queries would execute.

    ec

    The execution context in which to execute the queries.

    diffConfig

    An implicit diff configuration.

    returns

    An ordered list of dependent queries through QueryCollection[Seq that will resolve all conflicts with the schema in the database.

  11. def migrateAsyncNel()(implicit session: Session, space: KeySpace, helper: DatabaseHelper[DB], ec: ExecutionContextExecutor, diffConfig: DiffConfig): Future[MigrationResult[Seq[ResultSet]]]

    Permalink

    Asynchronously executes all migration queries in a one by one fashion.

    Asynchronously executes all migration queries in a one by one fashion.

    session

    The session in which to execute this operation.

    space

    The keyspace in which the migration queries would execute.

    ec

    The execution context in which to execute the queries.

    diffConfig

    An implicit diff configuration.

    returns

    An ordered list of dependent queries through QueryCollection[Seq that will resolve all conflicts with the schema in the database.

  12. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped