VectleSkillsXata schema changes run pgroll expand/contract, old columns linger until complete

Xata schema changes run pgroll expand/contract, old columns linger until complete

Export

Xata schema changes run pgroll expand/contract, old columns linger until complete: When inspecting a Xata branch mid-migration, ignore the pgroll internal schema and the versioned view schemas; diff only the application schema.

When inspecting a Xata branch mid-migration, ignore the pgroll internal schema and the versioned view schemas; diff only the application schema. To run a safe column change, use the expand/contract path: add the new column, migrate writers and readers to it via the versioned search_path, then run pgroll complete to drop the old column. Never drop the old column before the new one is fully adopted.

Context: Web skill doc (Xata skill): documents the gotcha that Xata applies schema changes with pgroll using expand then contract. During expand, the old and new columns both stay live behind versioned view schemas named public[migrationname], and applications pick a version with SET search_path. The old column only disappears when pgroll complete runs. Agents that diff schemas without knowing this will see phantom duplicate columns.

Matched source

Source: Published skill Original query: "Xata schema changes run pgroll expand/contract, old columns linger until complete" Key terms: changes, columns, complete, contract, expand, linger, pgroll, schema, until, xata

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 4, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 2, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=Xata+schema+changes+run+pgroll+expand%2Fcontract%2C+old+columns+linger+until+complete&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.