Fixed missing fields
svn: r12914
This commit is contained in:
parent
18a5c276f3
commit
a2a8aad654
@ -73,6 +73,7 @@ def makeDB(db):
|
|||||||
private BOOLEAN);""")
|
private BOOLEAN);""")
|
||||||
|
|
||||||
db.query("""CREATE TABLE name (
|
db.query("""CREATE TABLE name (
|
||||||
|
handle CHARACTER(25),
|
||||||
private BOOLEAN,
|
private BOOLEAN,
|
||||||
first_name TEXT,
|
first_name TEXT,
|
||||||
surname TEXT,
|
surname TEXT,
|
||||||
@ -447,6 +448,7 @@ def export_name(db, handle, data):
|
|||||||
group_as, sort_as, display_as, call) = data
|
group_as, sort_as, display_as, call) = data
|
||||||
|
|
||||||
db.query("""INSERT into name (
|
db.query("""INSERT into name (
|
||||||
|
handle,
|
||||||
private,
|
private,
|
||||||
first_name,
|
first_name,
|
||||||
surname,
|
surname,
|
||||||
@ -460,9 +462,9 @@ def export_name(db, handle, data):
|
|||||||
sort_as,
|
sort_as,
|
||||||
display_as,
|
display_as,
|
||||||
call
|
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,
|
name_type[0], name_type[1], prefix, patronymic, group_as,
|
||||||
sort_as, display_as, call)
|
sort_as, display_as, call)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user