feat: add metadata catalog cleanup commands
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
---
|
||||
status: superseded by ADR-0008
|
||||
---
|
||||
|
||||
# Hard-delete catalog tables during synchronization
|
||||
|
||||
An explicit Table Synchronization makes the Catalog Table membership exactly match a successful
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
status: accepted
|
||||
---
|
||||
|
||||
# Allow explicit manual catalog metadata cleanup
|
||||
|
||||
An administrator may explicitly clear structural projections from the Metadata Catalog without
|
||||
changing the Workspace Database, its binding, or its secrets. A database selection can remove all
|
||||
Catalog Tables, cascading their Catalog Columns and Catalog Relationships, or remove only its
|
||||
Catalog Relationships; a table selection can remove its Catalog Columns or every incoming and
|
||||
outgoing Catalog Relationship. Each selection is atomic, and a later Schema Synchronization can
|
||||
rebuild the removed projection from the external schema.
|
||||
|
||||
This supersedes ADR-0005's broader invariant that physical membership cannot be edited manually.
|
||||
Synchronization remains authoritative when it runs, while manual cleanup intentionally permits an
|
||||
incomplete catalog between cleanup and the next successful synchronization.
|
||||
Reference in New Issue
Block a user