diff options
author | Matthias H <apoc@sixserv.org> | 2014-03-06 16:07:13 +0100 |
---|---|---|
committer | Matthias H <apoc@sixserv.org> | 2014-03-06 16:07:13 +0100 |
commit | baff61847ea90195e4ef1b063e4da521e02ab9d9 (patch) | |
tree | 72e89e8c43fdeafd4bbbcc86592a706c5148d7f5 /bin | |
parent | 15be46dbc99df42db41c247967c9c504008de5cf (diff) |
[registry] improved tests, sqlite/tc bugfixes
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rbotdb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |