projects
/
platform
/
core
/
security
/
cert-svc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f606d
)
Adjust primary key constraints on certs db
74/85974/3
author
sangwan.kwon
<sangwan.kwon@samsung.com>
Tue, 30 Aug 2016 04:20:49 +0000
(13:20 +0900)
committer
sangwan.kwon
<sangwan.kwon@samsung.com>
Tue, 30 Aug 2016 06:17:41 +0000
(15:17 +0900)
* ssl's gname attribute should be unique.
Change-Id: I57995417f4c3fec73ed85c791dd94b569ab43eb4
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
etc/cert_svc_store_db.sql
patch
|
blob
|
history
diff --git
a/etc/cert_svc_store_db.sql
b/etc/cert_svc_store_db.sql
index
1810c3c
..
958351d
100644
(file)
--- a/
etc/cert_svc_store_db.sql
+++ b/
etc/cert_svc_store_db.sql
@@
-1,10
+1,9
@@
-
PRAGMA foreign_keys = ON;
BEGIN TRANSACTION;
CREATE TABLE ssl (
- gname TEXT not null,
+ gname TEXT
PRIMARY KEY
not null,
certificate TEXT not null,
file_hash TEXT not null,
subject_hash TEXT not null,
@@
-44,4
+43,3
@@
CREATE TABLE disabled_certs (
certificate TEXT not null);
COMMIT;
-