Commit Graph
171 Commits
Author SHA1 Message Date
Antonio Scandurra 9d0b5851a3 Make some db tests pass against the new sea-orm implementation 2022-11-30 12:13:16 +01:00
Antonio Scandurra fdbb4bb974 Start on a new db2 module that uses SeaORM 2022-11-29 16:49:04 +01:00
Antonio Scandurra 7b26fceb7b Remove version from Room
We won't need it once we add the per-room lock.
2022-11-18 20:18:48 +01:00
Antonio Scandurra 1e3cb72b20 Revert "Don't replace newer diagnostics with older ones"
This reverts commit b55a13831a.
2022-11-17 16:57:40 +01:00
Antonio Scandurra b55a13831a Don't replace newer diagnostics with older ones 2022-11-17 12:21:51 +01:00
Antonio Scandurra a079fb5626 Move Store::start_language_server to Db 2022-11-16 15:48:26 +01:00
Antonio Scandurra 4bb2f7f7fb Cascade deletes when project is deleted 2022-11-16 10:41:36 +01:00
Antonio Scandurra d212d37a65 Fix syntax error in schema 2022-11-15 18:02:07 +01:00
Antonio Scandurra 2521e230cd Move Store::update_worktree to Db::update_worktree 2022-11-15 17:18:28 +01:00
Antonio ScandurraandNathan Sobo ae2c64f47f Move Store::join_project to Db::join_project
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-11-15 16:37:51 +01:00
Antonio Scandurra c05e029a58 Start reworking join_project to use the database 2022-11-15 11:44:26 +01:00
Antonio Scandurra 93732c35a6 Determine whether a contact is busy via the database 2022-11-15 10:41:21 +01:00
Antonio ScandurraandNathan Sobo e23a19eed3 Switch to serializable isolation
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2022-11-14 19:39:12 +01:00
Antonio Scandurra 1f0709bbef Leave room when connection is dropped 2022-11-14 10:13:36 +01:00
Antonio Scandurra ae0252166b WIP 2022-11-11 19:36:20 +01:00
Antonio Scandurra fb3b16917b WIP: Move Store::leave_room to Db::leave_room 2022-11-11 16:59:54 +01:00
Antonio Scandurra 6406495a37 Remove calls table and use just room_participants 2022-11-11 15:22:04 +01:00
Antonio Scandurra 01127d8733 Start moving Store state into the database 2022-11-11 12:06:43 +01:00
Antonio Scandurra b192ea2bc8 Add schema for reconnection support 2022-11-11 10:41:44 +01:00
Max BrunsfeldandAntonio Scandurra 1a3ad561a0 Get integration tests passing with sqlite
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2022-11-10 11:03:52 -08:00
Max Brunsfeld 3644a1d2d3 Start work on using sqlite in tests 2022-11-09 19:26:29 -08:00