From 3f416278bb07101a3012499c698a91b5779bfa07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Sun, 14 Aug 2022 00:52:26 +0800 Subject: [PATCH] key is not unique --- bash/bashrc/sources/16_keystore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/bashrc/sources/16_keystore b/bash/bashrc/sources/16_keystore index c21a293..92e6eb6 100644 --- a/bash/bashrc/sources/16_keystore +++ b/bash/bashrc/sources/16_keystore @@ -58,7 +58,7 @@ function kstore-secret { function kstore-init { cat <<___SQL___ | $_SQLITE "$_AUTH_DB" CREATE TABLE IF NOT EXISTS store ( - key TEXT UNIQUE NOT NULL + key TEXT NOT NULL , prop TEXT NOT NULL , data TEXT , PRIMARY KEY( key ASC, prop ASC )