This commit is contained in:
Kelorastus
2026-09-22 13:37:29 +02:00
parent d5da361952
commit 4a92cc0b63
5 changed files with 612 additions and 21 deletions
+4
View File
@@ -352,6 +352,10 @@ pub struct DbSection {
/// Present when the snapshot comes from a DHP running operator-data sync.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub sync: Option<DbSync>,
/// Extensions the schema needs (`postgis`): pg_dump -n never emits CREATE EXTENSION,
/// so the restore creates them before the schema. Empty for older snapshots.
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub extensions: Vec<String>,
}
/// Where an install restored from this snapshot starts syncing.