pub struct SchemaDropRequest {
pub namespace: String,
pub target_kind: u8,
pub target_name: String,
pub force: bool,
pub request_id: WireUuid,
pub act_as: Option<ActAs>,
}Expand description
SCHEMA_DROP (0x0125) — surgical narrow of a single declared type.
The per-type counterpart to the namespace-wide SCHEMA_REPLACE: removes one
declared predicate or relation_type from the active schema set, then bumps
the namespace to a new version whose document no longer declares it. Existing
rows on the dropped type survive as orphans — readable as plain memories, no
longer enriched from the typed-graph tables.
force is required only when the target still has live (non-tombstoned)
rows: false with live rows present is rejected with Conflict and mutates
nothing. A type with no live rows drops without force.
Fields§
§namespace: StringNamespace the target lives in. MUST equal the caller’s own namespace,
or the server rejects with Unauthorized.
target_kind: u8One of schema_drop_target. Any other value → InvalidRequest.
target_name: StringLocal name of the predicate / relation_type to drop (the qname is
{namespace}:{target_name}).
force: boolConfirmation flag required only when the target still has live rows.
request_id: WireUuid§act_as: Option<ActAs>Run as a tenant on a shared-pool connection (see ActAs).