This commit is contained in:
Leandro Facchinetti 2021-03-12 15:02:48 +00:00
parent c954814fc4
commit 93ec567562
1 changed files with 1 additions and 1 deletions

View File

@ -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";