소스 검색

Adds turn number to insert query

Jose Reyes 5 년 전
부모
커밋
9284ee817b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      __init__.py

+ 2
- 2
__init__.py 파일 보기

@@ -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