Cesar Rodas 10 mesiacov pred
rodič
commit
b537559009
2 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 1
      src/main.rs
  2. 0 1
      src/update.rs

+ 1 - 1
src/main.rs

@@ -28,7 +28,7 @@ async fn main() -> std::io::Result<()> {
     }
     env_logger::init_from_env(env_logger::Env::new().default_filter_or("info"));
 
-    let settings = "sqlite:./test.db"
+    let settings = "sqlite:./ledger.db"
         .parse::<verax::storage::sqlite::SqliteConnectOptions>()
         .expect("valid settings")
         .journal_mode(verax::storage::sqlite::SqliteJournalMode::Wal)

+ 0 - 1
src/update.rs

@@ -6,7 +6,6 @@ use verax::{RevId, Status, Tag};
 
 #[derive(Deserialize)]
 pub struct UpdateOperation {
-    pub id: RevId,
     #[serde(default)]
     pub status: Option<Status>,
     #[serde(default)]