Skip to content

Commit 6eb6375

Browse files
committed
f Reluctantly CHECK the same thing differently
1 parent 1af0fef commit 6eb6375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/io/sqlite_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl SqliteStore {
4747
let sql = format!(
4848
"CREATE TABLE IF NOT EXISTS {} (
4949
namespace TEXT NOT NULL,
50-
key TEXT NOT NULL CHECK (length(key) > 0),
50+
key TEXT NOT NULL CHECK (key <> ''),
5151
value BLOB, PRIMARY KEY ( namespace, key )
5252
);",
5353
KV_TABLE_NAME

0 commit comments

Comments
 (0)