DropField
zio.blocks.schema.migration.MigrationAction.DropField
final case class DropField(at: DynamicOptic, defaultForReverse: DynamicSchemaExpr) extends MigrationAction
Drop a field from a record. The field name is the last component of the at path.
Value parameters
- at
-
The path to the field to drop (must end with a Field node)
- defaultForReverse
-
Default value expression to use when reversing (adding the field back)
Attributes
- Source
- MigrationAction.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationActionclass Objecttrait Matchableclass Any
Members list
In this article