oxygen.sql.migration.model

Members list

Type members

Classlikes

final case class CalculatedMigration(planned: PlannedMigration, steps: Contiguous[Step])

Representation of a Migration that has been calculated, but not yet executed.

Representation of a Migration that has been calculated, but not yet executed.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait EntityRef

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ColumnRef
class SchemaRef
class TableRef
object EntityRef

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
EntityRef.type
final case class ExecutedMigration(version: Int, steps: Contiguous[Step], startedAt: Instant, completedAt: Option[Instant])

Representation of a Migration that has already been executed.

Representation of a Migration that has already been executed.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait MigrationError extends Throwable

Attributes

Companion
object
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class MigrationResult(state: MigrationState, executed: Contiguous[ExecutedMigration])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class MigrationState

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Migrations(migrations: Contiguous[PlannedMigration])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Migrations

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Migrations.type
final case class PlannedMigration(version: Int, tables: Contiguous[TableRepr[_, _]], steps: Contiguous[StepType])

Representation of a migration that has not yet been calculated. This allows the flexibility to have oxygen-migration automatically figure out what migration steps you need.

Representation of a migration that has not yet been calculated. This allows the flexibility to have oxygen-migration automatically figure out what migration steps you need.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait StateDiff

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AlterColumn
class CreateColumn
class DropColumn
class RenameColumn
class SetNullable
trait AlterSchema
class CreateSchema
class DropSchema
class RenameSchema
trait AlterTable
class CreateTable
class DropTable
class RenameTable
Show all
object StateDiff

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
StateDiff.type
sealed trait StateDiffError extends Throwable

Attributes

Companion
object
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class ApplyError
class DeriveError
class DiffError

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class TableState

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TableState

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TableState.type