summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMatthias H <apoc@sixserv.org>2014-03-06 16:07:13 +0100
committerMatthias H <apoc@sixserv.org>2014-03-06 16:07:13 +0100
commitbaff61847ea90195e4ef1b063e4da521e02ab9d9 (patch)
tree72e89e8c43fdeafd4bbbcc86592a706c5148d7f5 /bin
parent15be46dbc99df42db41c247967c9c504008de5cf (diff)
[registry] improved tests, sqlite/tc bugfixes
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rbotdb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rbotdb b/bin/rbotdb
index b5949803..8fdf7e53 100755
--- a/bin/rbotdb
+++ b/bin/rbotdb
@@ -280,7 +280,7 @@ class RestoreRegistry
def write_sqlite(file, data)
db = SQLite3::Database.new(file + '.db')
- db.execute('CREATE TABLE data (key string, value blob)')
+ db.execute('CREATE TABLE data (key PRIMARY_KEY, value)')
data.each_pair do |key, value|
db.execute('INSERT INTO data VALUES (?, ?)',
key, value)