MigrationConfig

oxygen.sql.migration.MigrationConfig
See theMigrationConfig companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

enum Atomicity extends Enum[Atomicity]

None : (Highly not recommended) Will run your migration outside a transaction. : If there ends up being an error within a singular migration, your DB will be in a very weird state. PerMigration : Will run each migration in its own transaction. : This means that if you need to run multiple migrations (A and B), and A succeeds, but B fails, your DB will be in the state between A and B. AllOrNothing : Will run the entire migration in its own transaction. : This means that if you need to run multiple migrations (A and B), and A succeeds, but B fails, your DB will roll back to its state before A.

None : (Highly not recommended) Will run your migration outside a transaction. : If there ends up being an error within a singular migration, your DB will be in a very weird state. PerMigration : Will run each migration in its own transaction. : This means that if you need to run multiple migrations (A and B), and A succeeds, but B fails, your DB will be in the state between A and B. AllOrNothing : Will run the entire migration in its own transaction. : This means that if you need to run multiple migrations (A and B), and A succeeds, but B fails, your DB will roll back to its state before A.

Attributes

Companion
object
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
trait Enum[Atomicity]
class Object
trait Matchable
class Any
Show all
object Atomicity extends Companion[Atomicity]

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
trait Companion[Atomicity]
class Object
trait Matchable
class Any
Show all
Self type
Atomicity.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete fields

Givens

Givens