Add check for if the user wants a blanks workspace when deserializing

This commit is contained in:
Mikayla Maki 2022-12-12 12:25:52 -08:00
parent 82397f34d1
commit db3119b553
3 changed files with 20 additions and 8 deletions

View file

@ -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)]