da03 commited on
Commit
68b9a19
·
1 Parent(s): 801bf02
Files changed (1) hide show
  1. online_data_generation.py +1 -1
online_data_generation.py CHANGED
@@ -90,7 +90,7 @@ def initialize_database():
90
  # Initialize next_id if not exists
91
  cursor.execute("SELECT value FROM config WHERE key = 'next_id'")
92
  if not cursor.fetchone():
93
- cursor.execute("INSERT INTO config (key, value) VALUES ('next_id', '1')")
94
 
95
  conn.commit()
96
  conn.close()
 
90
  # Initialize next_id if not exists
91
  cursor.execute("SELECT value FROM config WHERE key = 'next_id'")
92
  if not cursor.fetchone():
93
+ cursor.execute("INSERT INTO config (key, value) VALUES ('next_id', '0')")
94
 
95
  conn.commit()
96
  conn.close()