summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/persist_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py
index 1a6319f949..2bc3e766a9 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -94,7 +94,7 @@ class SQLTable(collections.MutableMapping):
94 self.table = table 94 self.table = table
95 self.connection = connect(self.cachefile) 95 self.connection = connect(self.cachefile)
96 96
97 self._execute_single("CREATE TABLE IF NOT EXISTS %s(key TEXT, value TEXT);" % table) 97 self._execute_single("CREATE TABLE IF NOT EXISTS %s(key TEXT PRIMARY KEY NOT NULL, value TEXT);" % table)
98 98
99 @_Decorators.retry 99 @_Decorators.retry
100 @_Decorators.transaction 100 @_Decorators.transaction