We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a65be7 + 330d1ff commit d2914cdCopy full SHA for d2914cd
1 file changed
cli/src/data/flows.rs
@@ -137,6 +137,15 @@ impl BioVaultDb {
137
Ok(self.conn.last_insert_rowid())
138
}
139
140
+ /// Update flow path (for re-importing local flows)
141
+ pub fn update_flow_path(&self, flow_id: i64, flow_path: &str) -> Result<()> {
142
+ self.conn.execute(
143
+ "UPDATE flows SET flow_path = ?1, updated_at = datetime('now') WHERE id = ?2",
144
+ params![flow_path, flow_id],
145
+ )?;
146
+ Ok(())
147
+ }
148
+
149
/// Update flow timestamp
150
pub fn touch_flow(&self, flow_id: i64) -> Result<()> {
151
self.conn.execute(
0 commit comments