diff --git a/src/index.ts b/src/index.ts index e620512..e68f1da 100644 --- a/src/index.ts +++ b/src/index.ts @@ -98,7 +98,7 @@ export default function killTheNewsletter( ); END; - CREATE TRIGGER "feedsUpdatedAt" + CREATE TRIGGER "entriesInsertImpliesFeedsUpdatedAt" AFTER INSERT ON "entries" BEGIN UPDATE "feeds" SET "updatedAt" = CURRENT_TIMESTAMP WHERE "id" = "NEW"."feed";