Skip to content

spec: a renamed field keeps its values, a retired one is dropped only on request - renamedFrom / dropped - #65

Open
delchev wants to merge 1 commit into
mainfrom
renamed-from-dropped
Open

delchev wants to merge 1 commit into
mainfrom
renamed-from-dropped

Conversation

@delchev

@delchev delchev commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Renders specification proposal IntentFile/intent-specification#96 (0060) on the site: a new section renamedFrom / dropped - evolving a table that already holds data in docs/spec/entities.md (after unique - a business key over more than one field), a renamedFrom row in the fields key table, a dropped: row in the entity-level attributes table, and two rows in docs/reference.md.

  • field-level renamedFrom: <old field name> - applying the file renames the stored column in place, so the values move with the new name; it acts only while the old column exists and the new one does not, so it is harmless to leave in the file after the rename ran.
  • entity-level dropped: [names] - former field / to-one relation names whose columns applying the file removes, data included (the explicit contract step of expand/contract).
  • ::: info Normative: a field simply deleted from the file keeps its column and values; the authoring errors (a dropped: name or renamedFrom: source the entity still declares - by column -, a self-rename, a source also under dropped:, two fields renamed from one name, an empty name).

Wording mirrors the proposal's specification text, one heading level shallower. npm run docs:build is green; the built HTML carries id="renamedfrom-dropped-evolving-a-table-that-already-holds-data" and both new links (chapter tables, reference) resolve to it.

Reference implementation: eclipse-dirigible/dirigible#7674.

🤖 Generated with Claude Code

… on request - renamedFrom / dropped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant