Add check for if the user wants a blanks workspace when deserializing
This commit is contained in:
parent
82397f34d1
commit
db3119b553
3 changed files with 20 additions and 8 deletions
|
@ -371,6 +371,15 @@ impl WorkspaceDb {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
query!{
|
||||
fn update_timestamp(workspace_id: WorkspaceId) -> Result<()> {
|
||||
UPDATE workspaces
|
||||
SET timestamp = CURRENT_TIMESTAMP
|
||||
WHERE workspace_id = ?
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue