From 49e9ebb49b3444dee4b3e9a316f426f0fdf6ac6c Mon Sep 17 00:00:00 2001 From: Kenny Date: Mon, 16 Dec 2019 10:27:50 +0100 Subject: [PATCH] updated default config to reflect new table structure --- config/config.php.default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.php.default b/config/config.php.default index 281ab57..ddb5db0 100644 --- a/config/config.php.default +++ b/config/config.php.default @@ -23,7 +23,7 @@ define("IMPRINT_URL", "https://localhost.local/"); # this is the MySQL configuration, do not forget to create the corresponding database and the following table: - # > CREATE TABLE secrets ( fingerprint VARCHAR(64) PRIMARY KEY, time TIMESTAMP ); + # > CREATE TABLE secrets ( keyid VARCHAR(64), fingerprint VARCHAR(64), time TIMESTAMP, PRIMARY KEY (keyid, fingerprint) ); define("MYSQL_HOST", "localhost"); define("MYSQL_PORT", 3306); define("MYSQL_USER", "");