From baff61847ea90195e4ef1b063e4da521e02ab9d9 Mon Sep 17 00:00:00 2001 From: Matthias H Date: Thu, 6 Mar 2014 16:07:13 +0100 Subject: [registry] improved tests, sqlite/tc bugfixes --- bin/rbotdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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) -- cgit v1.2.3