Skip to main content

Module squash_baseline

Module squash_baseline 

Source
Expand description

Baseline-file placement for squashed extension migrations.

SquashBaselineService owns where a squashed baseline lands on disk: it locates an extension’s source crate in the workspace layout (crates/{layer}/{extension_id}, searching upward from a start directory for the repository root) and writes the baseline SQL produced by crate::lifecycle::MigrationService::squash_through into the crate’s schema/migrations/ directory. Purely filesystem-facing — no SQL is executed here — so it carries its own SquashBaselineError instead of crate::RepositoryError.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Structs§

SquashBaselineService

Enums§

SquashBaselineError