huskies: merge 729_story_store_story_name_as_a_crdt_field_separate_from_the_story_id
This commit is contained in:
@@ -267,6 +267,10 @@ async fn main() -> Result<(), std::io::Error> {
|
||||
}
|
||||
if let Err(e) = crdt_state::init(db_path).await {
|
||||
slog!("[crdt] Failed to initialise CRDT state layer: {e}");
|
||||
} else {
|
||||
// Migrate items that have an empty name field: derive the name
|
||||
// from the story ID slug. No-op for items that already have a name.
|
||||
crdt_state::migrate_names_from_slugs();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user