zio.blocks.schema.migration.MigrationAction.AddField
Add a new field to a record with a default value. The field name is the last component of the at path.
Value parameters
at
The path to the field to add (must end with a Field node)
default
The default value expression for the new field
Attributes
Source
MigrationAction.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Product
trait Equals
trait Matchable
class Any
Show all
Members list
The field name, extracted from the path
Returns the structural inverse of this action. Note: Runtime reversal is best-effort and may fail if information was lost during the forward migration.
Returns the structural inverse of this action. Note: Runtime reversal is best-effort and may fail if information was lost during the forward migration.
Attributes
Definition Classes
Source
MigrationAction.scala
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
Inherited from:
Product
Source
Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
Returns
in the default implementation, an Iterator[Any]
Inherited from:
Product
Source
Product.scala