Update migration script
This commit is contained in:
parent
731a443209
commit
3b6411991e
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ def main():
|
||||||
)
|
)
|
||||||
if line[6] is not None:
|
if line[6] is not None:
|
||||||
db_c.execute(
|
db_c.execute(
|
||||||
"INSERT INTO articles_page(article_ptr_id) VALUES (?);",
|
"INSERT INTO articles_page(article_ptr_id, position) VALUES (?, ?);",
|
||||||
(ret.lastrowid,),
|
(ret.lastrowid, line[6]),
|
||||||
)
|
)
|
||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
|
|
Reference in a new issue