forgot to remove project_id from t_email upgrade path

This commit is contained in:
Domeniko Gentner 2021-01-15 20:08:28 +01:00
parent 5705ab6919
commit 464f45cbb9

View File

@ -214,7 +214,6 @@ def upgrade_db_to_v2_import():
# walk json and readd to database with project set to project 1
for each in mails:
each.update({'project_id': 1})
db.session.add(TEmail(**each))
for each in locations: