Browse Source

Adds turn number to insert query

Jose Reyes 5 years ago
parent
commit
9284ee817b
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      __init__.py

+ 2
- 2
__init__.py View File

@@ -47,9 +47,9 @@ def create_app(test_config=None):
47 47
                     (station_id)
48 48
                 )
49 49
                 db.execute(
50
-                    'INSERT INTO turno (cName, cEmail, timeArrival, station)'
50
+                    'INSERT INTO turno (cName, cEmail, turn, timeArrival, station)'
51 51
                     ' VALUES (?, ?, ?, ?)',
52
-                    (cName, cEmail, 'testin', station_id)
52
+                    (cName, cEmail, turn, 'testin', station_id)
53 53
                 )
54 54
             db.commit()
55 55