key is not unique

This commit is contained in:
斟酌 鵬兄 2022-08-14 00:52:26 +08:00
parent e388f91068
commit 3f416278bb

View File

@ -58,7 +58,7 @@ function kstore-secret {
function kstore-init { function kstore-init {
cat <<___SQL___ | $_SQLITE "$_AUTH_DB" cat <<___SQL___ | $_SQLITE "$_AUTH_DB"
CREATE TABLE IF NOT EXISTS store ( CREATE TABLE IF NOT EXISTS store (
key TEXT UNIQUE NOT NULL key TEXT NOT NULL
, prop TEXT NOT NULL , prop TEXT NOT NULL
, data TEXT , data TEXT
, PRIMARY KEY( key ASC, prop ASC ) , PRIMARY KEY( key ASC, prop ASC )