# Phase 56 — Edit schema objects Baseline: Phase 55. Schema navigator context menus for Views, Stored Procedures and Functions now provide **Edit Definition…**. - Loads original DDL with `SHOW CREATE VIEW`, `SHOW CREATE PROCEDURE` or `SHOW CREATE FUNCTION`. - Displays an editable full-definition SQL text editor, a reload-original button, and explicit save confirmation. - Views are updated with `CREATE OR REPLACE VIEW`, preserving ALGORITHM / DEFINER clauses from MySQL's output. - MySQL routines require DROP then CREATE; save explicitly warns that this is not atomic, and attempts to restore the original definition if recreation fails. Restoration may also fail. Backup and check grants/DEFINER before editing. - Save errors are displayed without closing the editor. Schema objects are refreshed when the editor closes. Swift syntax parsed on Linux; native macOS compilation and interactive database testing were not available.