From 7b7920c6388a46f525d95abe8f53e5901c486206 Mon Sep 17 00:00:00 2001 From: ckunki Date: Fri, 13 Oct 2023 08:57:09 +0200 Subject: [PATCH] fixed review findings --- exasol/secret_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exasol/secret_store.py b/exasol/secret_store.py index 96dc380..0f7c292 100644 --- a/exasol/secret_store.py +++ b/exasol/secret_store.py @@ -44,7 +44,7 @@ def _initialize(self, db_file_found: bool) -> None: return _logger.info(f'Creating table "{TABLE_NAME}".') with self._cursor() as cur: - cur.execute(f"CREATE TABLE {TABLE_NAME} (key, value)") + cur.execute(f"CREATE TABLE {TABLE_NAME} (key TEXT, value TEXT PRIMARY KEY)") def _use_master_password(self) -> None: """