Class MigrateSchemaRequest
Request message for MigrateSchema. Next tag: 7
Implements
Inherited Members
Namespace: Google.Apis.FirebaseDataConnect.v1beta.Data
Assembly: Google.Apis.FirebaseDataConnect.v1beta.dll
Syntax
public class MigrateSchemaRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExecutionMode
Optional. Execution mode controlling DDL execution and ledger recording. Defaults to EXECUTE_AND_RECORD.
Declaration
[JsonProperty("executionMode")]
public virtual string ExecutionMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MigrationSteps
Required. Ordered migration steps from ./sql/migrations/ (or a single ad-hoc step). Backend compares
submitted versions against firebasesql.schema_migrations: already-applied steps are verified for SQL
immutability and skipped, while unapplied steps (version > MAX(applied_version)) are executed. All
unapplied transactional steps in a single request execute atomically within one database transaction (BEGIN
... COMMIT): either every unapplied step commits and is recorded in the ledger, or the entire request rolls
back. An unapplied step containing CREATE INDEX CONCURRENTLY or DROP INDEX CONCURRENTLY cannot be mixed with
other unapplied steps and must be the sole unapplied step executed in the request.
Declaration
[JsonProperty("migrationSteps")]
public virtual IList<MigrationStep> MigrationSteps { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<MigrationStep> |
ValidateOnly
Optional. When true, runs preflight validation (syntax, applied-step immutability, sequence ordering, CONCURRENTLY isolation, and SAVEPOINT catalog checks) without committing mutations to the database.
Declaration
[JsonProperty("validateOnly")]
public virtual bool? ValidateOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |