Add TODO; Remove alter table
Some checks failed
ptero-push / build (push) Has been cancelled

This commit is contained in:
Christopher Cookman 2025-05-23 14:16:46 -06:00
parent 10359afda9
commit 33a5d21627
2 changed files with 1 additions and 1 deletions

1
TODO Normal file
View file

@ -0,0 +1 @@
[ ] Blacklist PIR events (Pilot Reports, spammy asf)

View file

@ -44,7 +44,6 @@ const db = new sqlite3.Database("channels.db", (err) => {
// Create tables if they dont exist
db.run(`CREATE TABLE IF NOT EXISTS channels (channelid TEXT, iemchannel TEXT, custommessage TEXT, minPriority INTEGER, "filter" TEXT, filterEvt TEXT);`);
db.run(`CREATE TABLE IF NOT EXISTS userAlerts (userid TEXT, iemchannel TEXT, filter TEXT, filterEvt TEXT, minPriority INT, custommessage TEXT);`);
db.run(`ALTER TABLE channels RENAME COLUMN filterevt TO filterEvt;`)
});