davanstrien HF staff commited on
Commit
fc341f3
1 Parent(s): 33c1203

refactor: Update index creation in main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -45,7 +45,7 @@ def setup_database():
45
  c.execute(
46
  """
47
  CREATE INDEX IF NOT EXISTS idx_column_names
48
- ON datasets((json_each.value))
49
  """
50
  )
51
  c.execute(
 
45
  c.execute(
46
  """
47
  CREATE INDEX IF NOT EXISTS idx_column_names
48
+ ON datasets(column_names)
49
  """
50
  )
51
  c.execute(