# Restructure persistence of remote workspaces to make room for WSL and other non-ssh remote projects \(\#36714\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/f649c31bf94ac56757aff1394c5a0926232285af)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: f649c31bf94ac56757aff1394c5a0926232285af

Requested commit: f649c31bf94ac56757aff1394c5a0926232285af

Commit: f649c31bf94ac56757aff1394c5a0926232285af

Tree: 66fd64060d0f64203ad403ca3b1fd98687654dc1

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Restructure persistence of remote workspaces to make room for WSL and other non-ssh remote projects (#36714)

This is another pure refactor, to prepare for adding direct WSL support.

###  Todo

* [x] Represent `paths` in the same way for all workspaces, instead of
having a completely separate SSH representation
* [x] Adjust sqlite tables
    * [x] `ssh_projects` -> `ssh_connections` (drop paths)
    * [x] `workspaces.local_paths` -> `paths`
    * [x] remove duplicate path columns on `workspaces`
* [x] Add migrations for backward-compatibility

Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
```

## Parents

- [639417c2bc2dec345b79024f243ce15bd60638a9](https://git.cafe/gitcafe/zed/commit/639417c2bc2dec345b79024f243ce15bd60638a9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/f649c31bf94ac56757aff1394c5a0926232285af?format=markdown)
