WorkersScriptMigrations

data class WorkersScriptMigrations(val deletedClasses: List<String>? = null, val newClasses: List<String>? = null, val newSqliteClasses: List<String>? = null, val newTag: String? = null, val oldTag: String? = null, val renamedClasses: List<WorkersScriptMigrationsRenamedClass>? = null, val steps: List<WorkersScriptMigrationsStep>? = null, val transferredClasses: List<WorkersScriptMigrationsTransferredClass>? = null)

Constructors

Link copied to clipboard
constructor(deletedClasses: List<String>? = null, newClasses: List<String>? = null, newSqliteClasses: List<String>? = null, newTag: String? = null, oldTag: String? = null, renamedClasses: List<WorkersScriptMigrationsRenamedClass>? = null, steps: List<WorkersScriptMigrationsStep>? = null, transferredClasses: List<WorkersScriptMigrationsTransferredClass>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val deletedClasses: List<String>? = null

A list of classes to delete Durable Object namespaces from.

Link copied to clipboard
val newClasses: List<String>? = null

A list of classes to create Durable Object namespaces from.

Link copied to clipboard

A list of classes to create Durable Object namespaces with SQLite from.

Link copied to clipboard
val newTag: String? = null

Tag to set as the latest migration tag.

Link copied to clipboard
val oldTag: String? = null

Tag used to verify against the latest migration tag for this Worker. If they don't match, the upload is rejected.

Link copied to clipboard

A list of classes with Durable Object namespaces that were renamed.

Link copied to clipboard

Migrations to apply in order.

Link copied to clipboard

A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.