summaryrefslogtreecommitdiff
path: root/bin/rbotdb
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rbotdb')
-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)