This commit is contained in:
2026-08-06 08:38:56 -05:00
parent 1234277b41
commit 03dcec5708
2 changed files with 5 additions and 1 deletions

View File

@@ -33,7 +33,8 @@ EOF
insert INTO Symbols
select DISTINCT Symbol
from OptionQuotes
where OptionQuotes.Symbol not in (select Symbol from Symbols);
where OptionQuotes.Symbol not in (select Symbol from Symbols)
and Symbol!='';
EOF
)
echo "${symbolUpdateSQL}" | sqlite3 consolidated.sqlite3

View File

@@ -1,5 +1,8 @@
#!/bin/bash
echo "YOU DONT WANT TO RUN THIS - it will destroy the db."
exit 7
mkdir -p processedDBs
rm consolidated.sqlite3