DocsWorkflowsComponentsAppapp:field:delete

app:field:delete

Removes a field from a table and applies the migration

Options

NameTypeDescription
org_idstringThe organization ID that owns the schema
schema_idstringThe name of the schema (database) that contains the table
tablestringThe name of the table that contains the field
fieldstringThe name of the field to delete

Outputs

NameTypeDescription
fieldstringThe name of the deleted field

Example

name: Remove a field from a table
actions:
  - name: removed
    component: app:field:delete
    vars:
      org_id: "{{ var.org_id }}"
      schema_id: content
      table: articles
      field: summary