Skip to content

angee.compose.migrations ​

Materialize addon-owned Django migrations into composed runtime apps.

RuntimeMigrationPlan ​

python
@dataclass(frozen=True, slots=True)
class RuntimeMigrationPlan()

One applicable addon migration attached to a concrete runtime node.

RuntimeMigrations ​

python
class RuntimeMigrations()

Plan and materialize addon-owned migrations into runtime app graphs.

plan ​

python
def plan() -> tuple[RuntimeMigrationPlan, ...]

Return every applicable write after validating the complete graph.

check ​

python
def check() -> None

Raise when an applicable addon migration has not been materialized.

materialize ​

python
def materialize() -> tuple[Path, ...]

Copy every applicable source migration after the plan validates.

Released under the AGPL-3.0 License.