Done first draft of strongly typed migrations
This commit is contained in:
parent
4a00f0b062
commit
c84201fc9f
18 changed files with 396 additions and 448 deletions
|
@ -1,5 +1,5 @@
|
|||
use crate::http::HttpClient;
|
||||
use db::Db;
|
||||
use db::{kvp::KeyValue, Db};
|
||||
use gpui::{
|
||||
executor::Background,
|
||||
serde_json::{self, value::Map, Value},
|
||||
|
@ -148,7 +148,7 @@ impl Telemetry {
|
|||
Some(self.state.lock().log_file.as_ref()?.path().to_path_buf())
|
||||
}
|
||||
|
||||
pub fn start(self: &Arc<Self>, db: Db) {
|
||||
pub fn start(self: &Arc<Self>, db: Db<KeyValue>) {
|
||||
let this = self.clone();
|
||||
self.executor
|
||||
.spawn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue