Commit 322609d81786125ed740a43b6f6c475e964ec5dd

Authored by Antoine Goutenoir
1 parent c6ed0103
Exists in master

Prepare the Emission database model for the train usage.

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
flaskr/models.py
... ... @@ -49,6 +49,9 @@ class Estimation(db.Model):
49 49 origin_addresses = db.Column(db.UnicodeText())
50 50 destination_addresses = db.Column(db.UnicodeText())
51 51  
  52 + # For (single, not round) trips below this distance, use the train
  53 + use_train_below_km = db.Column(db.Integer())
  54 +
52 55 # One slug per line (or blank char?)
53 56 models_slugs = db.Column(db.UnicodeText())
54 57  
... ...