io.eezo.db.migrate

Members list

Type members

Classlikes

final case class Applied(number: Int, name: String, fingerprint: String, appliedAt: Instant)

Attributes

Source
Migrator.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
enum Decision

What the author chose to do with one drifted change.

What the author chose to do with one drifted change.

Skip currently still records the new state in the snapshot, so a skipped change is not re-offered — see BACKLOG §28, which is the decision that has not been made.

Attributes

Source
Freeze.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DeployCheck

The last step of a deploy: does the database this process is about to serve actually match the model it was compiled against?

The last step of a deploy: does the database this process is about to serve actually match the model it was compiled against?

Attributes

Source
DeployCheck.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Freeze

Attributes

Source
Freeze.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Freeze.type
final case class Migration(number: Int, name: String, statements: List[String], fingerprint: String)

Attributes

Companion
object
Source
Migration.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Migration

Attributes

Companion
class
Source
Migration.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Migration.type
object Migrator

The migration ledger and the migrations that fill it.

The migration ledger and the migrations that fill it.

Every entry point takes a Tx, including the reading ones: applied ensures the ledger exists first, and creating a table is a write. Nothing here opens a scope of its own — a caller wraps the whole run in one transact, which is what makes a failed batch roll back including its ledger rows.

Attributes

Source
Migrator.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Migrator.type
final case class Resolution(change: Change, decision: Decision)

Attributes

Source
Freeze.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all