Refactored workspaces API and corrected method headers + fixed bug caused by migration failures

co-authored-by: kay@zed.dev
This commit is contained in:
Mikayla Maki 2022-10-27 16:02:14 -07:00
parent 3451a3c7fe
commit ddecba143f
5 changed files with 12 additions and 38 deletions

View file

@ -4,14 +4,10 @@ use rusqlite::OptionalExtension;
use super::Db;
pub(crate) const KVP_M_1: &str = "
BEGIN TRANSACTION;
CREATE TABLE kv_store(
key TEXT PRIMARY KEY,
value TEXT NOT NULL
) STRICT;
COMMIT;
";
impl Db {