forgot to remove project_id from t_email upgrade path

main
Domeniko Gentner 4 years ago
parent 5705ab6919
commit 464f45cbb9
  1. 1
      labertasche/blueprints/bp_upgrades/db_v2.py

@ -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…
Cancel
Save