summaryrefslogtreecommitdiff
path: root/src/lib/create_table
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-06-07 15:43:13 -0400
committerLouie S <louie@example.com>2024-06-07 15:43:13 -0400
commit46bf8fd01e7a8660c0b02b08d69ad12f7a36eb19 (patch)
treeefe51731f94d8d54f8684a6d29c54898c6b92c3e /src/lib/create_table
parentbc624ea5f8fe4cfc6ea0a44d483ba57cb07cfcd6 (diff)
Convert to submodule
Diffstat (limited to 'src/lib/create_table')
-rw-r--r--src/lib/create_table7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/create_table b/src/lib/create_table
deleted file mode 100644
index a783c50..0000000
--- a/src/lib/create_table
+++ /dev/null
@@ -1,7 +0,0 @@
-create_table() {
- DB_PATH="$1"
-
- sqlite3 "$DB_PATH" "CREATE TABLE IF NOT EXISTS searchIndex(id INTEGER PRIMARY KEY, name TEXT, type TEXT, path TEXT);"
- sqlite3 "$DB_PATH" "CREATE UNIQUE INDEX IF NOT EXISTS anchor ON searchIndex (name, type, path);"
-}
-