DmitrMakeev commited on
Commit
c1e1c55
1 Parent(s): 23b94e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,7 +78,7 @@ def init_db(db_name):
78
  b_baners TEXT NOT NULL,
79
  b_butt TEXT NOT NULL,
80
  b_mess TEXT NOT NULL,
81
- shop_statys_full TEXT NOT NULL,
82
  curator TEXT NOT NULL,
83
  pr1 TEXT NOT NULL,
84
  pr2 TEXT NOT NULL,
@@ -276,7 +276,7 @@ def load_data_from_json(json_data):
276
 
277
  query = '''
278
  INSERT INTO contacts (
279
- name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress, b_city, b_fin, b_ban, b_ign, b_baners, b_butt, b_mess, shop_statys_full, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, n_con, canal, data_t
280
  ) VALUES (
281
  :Имя, :Телефон, :Email, :vk_id, :chat_id, :ws_st, :ws_stop, :web_st, :fin_prog, :b_city, :b_fin, :b_ban, :b_ign, :b_baners, :b_butt, :b_mess, :shop_st, :pr1, :pr2, :pr3, :pr4, :pr5, :ad_url, :curator, :key_pr, :n_con, :canal, :data_t
282
  )
 
78
  b_baners TEXT NOT NULL,
79
  b_butt TEXT NOT NULL,
80
  b_mess TEXT NOT NULL,
81
+ shop_st TEXT NOT NULL,
82
  curator TEXT NOT NULL,
83
  pr1 TEXT NOT NULL,
84
  pr2 TEXT NOT NULL,
 
276
 
277
  query = '''
278
  INSERT INTO contacts (
279
+ name, phone, email, vk_id, chat_id, ws_statys, ws_stop, web_statys, fin_progress, b_city, b_fin, b_ban, b_ign, b_baners, b_butt, b_mess, shop_st, pr1, pr2, pr3, pr4, pr5, ad_url, curator, key_pr, n_con, canal, data_t
280
  ) VALUES (
281
  :Имя, :Телефон, :Email, :vk_id, :chat_id, :ws_st, :ws_stop, :web_st, :fin_prog, :b_city, :b_fin, :b_ban, :b_ign, :b_baners, :b_butt, :b_mess, :shop_st, :pr1, :pr2, :pr3, :pr4, :pr5, :ad_url, :curator, :key_pr, :n_con, :canal, :data_t
282
  )