fixed update_last_processed

This commit is contained in:
Jędrzej Stuczyński
2023-12-12 15:40:54 +00:00
parent c92a7e3e35
commit c3a9ceae52
+2 -1
View File
@@ -309,7 +309,8 @@ where
sqlx::query!(
r#"
INSERT INTO metadata (last_processed_height) VALUES (?)
UPDATE metadata
SET last_processed_height = ?
"#,
height
)