certmanager updated

This commit is contained in:
Олег Бородин
2024-08-06 20:37:59 +02:00
parent d94054c534
commit 57353fc4ce
11 changed files with 326 additions and 139 deletions

View File

@@ -10,7 +10,7 @@ import (
)
const schema = `
DROP TABLE IF EXISTS issuer;
--- DROP TABLE IF EXISTS issuer;
CREATE TABLE IF NOT EXISTS issuer (
id INT NOT NULL,
name TEXT NOT NULL,
@@ -21,10 +21,11 @@ const schema = `
CREATE INDEX IF NOT EXISTS issuer_index
ON issuer(id, name);
DROP TABLE IF EXISTS service;
--- DROP TABLE IF EXISTS service;
CREATE TABLE IF NOT EXISTS service (
id INT NOT NULL,
issuer_id INT NOT NULL,
issuer_name TEXT NOT NULL,
name TEXT NOT NULL,
cert TEXT NOT NULL,
key TEXT NOT NULL,