ソースを参照

Adds turn number to insert query

Jose Reyes 5 年 前
コミット
9284ee817b
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      __init__.py

+ 2
- 2
__init__.py ファイルの表示

47
                     (station_id)
47
                     (station_id)
48
                 )
48
                 )
49
                 db.execute(
49
                 db.execute(
50
-                    'INSERT INTO turno (cName, cEmail, timeArrival, station)'
50
+                    'INSERT INTO turno (cName, cEmail, turn, timeArrival, station)'
51
                     ' VALUES (?, ?, ?, ?)',
51
                     ' VALUES (?, ?, ?, ?)',
52
-                    (cName, cEmail, 'testin', station_id)
52
+                    (cName, cEmail, turn, 'testin', station_id)
53
                 )
53
                 )
54
             db.commit()
54
             db.commit()
55
 
55