> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Migration Management UI — Integration

> Feature ID: PF-53 Status: \U0001F4DD Planned -migration-management-ui.md Last Updated: 2026-03-04

**Feature ID:** PF-53\
**Status:** 📝 Planned\
**Spec:** [PF-53-migration-management-ui.md](../../../specs/pf/specs/PF-53-migration-management-ui.md)\
**Last Updated:** 2026-03-04

***

## Overview

PF-53 is platform-internal: a read-only view over Supabase-managed `supabase_migrations.schema_migrations` plus UI for migration status, rollback (audit-only in Phase 2), and testing/validation. No cross-core event or API contracts. Optional future dependency on PF-01 if org-scoped migrations are ever supported.

***

## Integration Points (from Spec)

| Dependency             | Pattern         | Purpose                                                                                         |
| ---------------------- | --------------- | ----------------------------------------------------------------------------------------------- |
| PF-01 (Organizations)  | Optional future | If Supabase supports org-scoped migrations; current scope is platform-wide only.                |
| PF-45 (Platform Admin) | Platform Layer  | Access control via `pf_is_platform_admin(auth.uid())`; error\_message redaction for non-admins. |

***

## Data / View

* **View:** `pf_migration_status` (security\_invoker) over `supabase_migrations.schema_migrations`; column mapping documented in spec Errata after Phase 1.
* **Phase 2:** Append-only `pf_audit_log` for rollback intent and status (platform-level; no organization\_id).

***

## Related Docs

* [CROSS\_CORE\_INTEGRATIONS.md](./CROSS_CORE_INTEGRATIONS.md)
* [PLATFORM\_INTEGRATION\_LAYERS.md](./PLATFORM_INTEGRATION_LAYERS.md)
