chore: fix open application error when upgrade to 0.0.5.1

This commit is contained in:
appflowy
2022-09-16 13:15:13 +08:00
parent bc404c4ea5
commit f792283e70
4 changed files with 19 additions and 8 deletions

View File

@ -29,6 +29,7 @@ impl TypeOptionBuilder for RichTextTypeOptionBuilder {
#[derive(Debug, Clone, Default, Serialize, Deserialize, ProtoBuf)]
pub struct RichTextTypeOptionPB {
#[pb(index = 1)]
#[serde(default)]
data: String, //It's not used yet
}
impl_type_option!(RichTextTypeOptionPB, FieldType::RichText);