Align legacy post snapshots with bDS2.

This commit is contained in:
2026-07-21 22:54:06 +02:00
parent 535303e8b5
commit b8014e0a10
7 changed files with 111 additions and 160 deletions

View File

@@ -96,7 +96,7 @@ pub struct Post {
serialize_as = crate::db::types::DbStringList
)]
pub categories: Vec<String>,
// Published snapshot fields (used for diff detection)
// Legacy bDS2-compatible columns. Publishing and lifecycle logic leave them untouched.
#[serde(skip_serializing_if = "Option::is_none")]
pub published_title: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]