forgot to remove project_id from t_email upgrade path
This commit is contained in:
parent
5705ab6919
commit
464f45cbb9
@ -214,7 +214,6 @@ def upgrade_db_to_v2_import():
|
|||||||
|
|
||||||
# walk json and readd to database with project set to project 1
|
# walk json and readd to database with project set to project 1
|
||||||
for each in mails:
|
for each in mails:
|
||||||
each.update({'project_id': 1})
|
|
||||||
db.session.add(TEmail(**each))
|
db.session.add(TEmail(**each))
|
||||||
|
|
||||||
for each in locations:
|
for each in locations:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user