We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CHECK
1 parent 1af0fef commit 6eb6375Copy full SHA for 6eb6375
src/io/sqlite_store.rs
@@ -47,7 +47,7 @@ impl SqliteStore {
47
let sql = format!(
48
"CREATE TABLE IF NOT EXISTS {} (
49
namespace TEXT NOT NULL,
50
- key TEXT NOT NULL CHECK (length(key) > 0),
+ key TEXT NOT NULL CHECK (key <> ''),
51
value BLOB, PRIMARY KEY ( namespace, key )
52
);",
53
KV_TABLE_NAME
0 commit comments