This commit is contained in:
Leandro Facchinetti 2021-03-12 09:01:51 +00:00
parent 47bb8d9a97
commit 6cb6eba93f
1 changed files with 0 additions and 1 deletions

View File

@ -466,7 +466,6 @@ export default function killTheNewsletter(
`
);
while (renderFeed(feedReference)!.length > 500_000)
// TODO: Does LIMIT 1 work in DELETE?
database.run(
sql`DELETE FROM "entries" WHERE "feed" = ${feed.id} ORDER BY "createdAt" ASC LIMIT 1`
);