Spaces:
Runtime error
Runtime error
Commit
·
fc341f3
1
Parent(s):
33c1203
refactor: Update index creation in main.py
Browse files
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(
|
| 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(
|