diff options
author | Louie S <louie@example.com> | 2024-07-17 18:07:15 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-07-17 18:07:15 -0400 |
commit | 9b0d30029aa6880cdb2bf2ec045524108a684e07 (patch) | |
tree | b99dd7b778ad0bb1595a90022edfcd09fe2a2501 /src/lib/create_table | |
parent | 386d5d6a5d52ee60584bdf955018f784bddef7e3 (diff) |
Diffstat (limited to 'src/lib/create_table')
-rw-r--r-- | src/lib/create_table | 7 |
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);" -} - |