Files
77th_eventcalenderntfy/run/db_fix_events_deleted_set_done.ts

7 lines
118 B
TypeScript

import db from "../src/sql";
db.run(
`UPDATE events
SET notification = 'done'
WHERE deleteDate IS NOT NULL;`
);