From 93ec56756270d52ac754ff9447a03157cad2f36b Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Fri, 12 Mar 2021 15:02:48 +0000 Subject: [PATCH] --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";