aboutsummaryrefslogtreecommitdiff
path: root/backend/data
diff options
context:
space:
mode:
Diffstat (limited to 'backend/data')
-rwxr-xr-xbackend/data/otolToSqlite.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/data/otolToSqlite.py b/backend/data/otolToSqlite.py
index 187e224..c393474 100755
--- a/backend/data/otolToSqlite.py
+++ b/backend/data/otolToSqlite.py
@@ -223,6 +223,5 @@ cur = con.cursor()
cur.execute("CREATE TABLE nodes (name TEXT PRIMARY KEY, data TEXT)")
for name in nodeMap.keys():
cur.execute("INSERT INTO nodes VALUES (?, ?)", (name, json.dumps(nodeMap[name])))
-cur.execute("CREATE UNIQUE INDEX nodes_idx on nodes(name)")
con.commit()
con.close()