joy_core/migrations/mod.rs
1// Copyright (c) 2026 Joydev GmbH (joydev.com)
2// SPDX-License-Identifier: MIT
3
4//! Schema migrations for joy-managed YAML files.
5//!
6//! Each migration is a pure transform on `serde_yaml_ng::Value`, isolated
7//! in its own module under a date-prefixed filename. Migrations are
8//! applied on read; persistence happens at the next `joy auth update`,
9//! never as a silent on-save rewrite (per ADR-035).
10//!
11//! Removing a migration after its deprecation window is a one-step
12//! operation: delete the module file and the corresponding entry from
13//! the area-specific `apply` function. No cross-cutting changes needed.
14
15pub mod project_yaml;