feat: add icon field (#4824)

* feat: add icon field

* fix: add sqlx migration files

* chore: fix tst

* chore: fix duplicate event name

* chore: update to lastest stable rust toolchain

* chore: use 1.75 channel

* chore: fix duplicate event name

* chore: fix duplicate event name

* chore: use more reliable assertion

---------

Co-authored-by: nathan <nathan@appflowy.io>
This commit is contained in:
Zack
2024-03-13 15:07:52 +08:00
committed by GitHub
parent af16299c83
commit bf70be1841
19 changed files with 42 additions and 25 deletions

View File

@ -409,6 +409,7 @@ fn to_user_workspace(af_workspace: AFWorkspace) -> UserWorkspace {
name: af_workspace.workspace_name,
created_at: af_workspace.created_at,
workspace_database_object_id: af_workspace.database_storage_id.to_string(),
icon: af_workspace.icon,
}
}

View File

@ -214,5 +214,6 @@ fn make_user_workspace() -> UserWorkspace {
name: "My Workspace".to_string(),
created_at: Default::default(),
workspace_database_object_id: uuid::Uuid::new_v4().to_string(),
icon: "".to_string(),
}
}