mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: workspace service in user crate (#4373)
* refactor: user manager * feat: implement workspace service * refactor: migrate user data when sign up * chore: fmt * chore: enable beta cloud * chore: update ci * chore: trim slash
This commit is contained in:
@ -13,6 +13,7 @@ const DB_NAME: &str = "cache.db";
|
||||
|
||||
/// [StorePreferences] uses a sqlite database to store key value pairs.
|
||||
/// Most of the time, it used to storage AppFlowy configuration.
|
||||
#[derive(Clone)]
|
||||
pub struct StorePreferences {
|
||||
database: Option<Database>,
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ use crate::sqlite_impl::{
|
||||
pool::{ConnectionManager, ConnectionPool, PoolConfig},
|
||||
};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Database {
|
||||
uri: String,
|
||||
pool: Arc<ConnectionPool>,
|
||||
|
Reference in New Issue
Block a user