From a2a8aad6543398285e4814b9ea87ded206369c31 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 7 Aug 2009 13:00:53 +0000 Subject: [PATCH] Fixed missing fields svn: r12914 --- src/plugins/export/ExportSql.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/export/ExportSql.py b/src/plugins/export/ExportSql.py index 135e4a11f..ec4fcb4bc 100644 --- a/src/plugins/export/ExportSql.py +++ b/src/plugins/export/ExportSql.py @@ -73,6 +73,7 @@ def makeDB(db): private BOOLEAN);""") db.query("""CREATE TABLE name ( + handle CHARACTER(25), private BOOLEAN, first_name TEXT, surname TEXT, @@ -447,6 +448,7 @@ def export_name(db, handle, data): group_as, sort_as, display_as, call) = data db.query("""INSERT into name ( + handle, private, first_name, surname, @@ -460,9 +462,9 @@ def export_name(db, handle, data): sort_as, display_as, call - ) values (?, ?, ?, ?, ?, ?, + ) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);""", - private, first_name, surname, suffix, title, + handle, private, first_name, surname, suffix, title, name_type[0], name_type[1], prefix, patronymic, group_as, sort_as, display_as, call)