Skip to content

Add lesson 35: Triggers#95

Open
exekias wants to merge 1 commit into
mainfrom
lesson/35-triggers
Open

Add lesson 35: Triggers#95
exekias wants to merge 1 commit into
mainfrom
lesson/35-triggers

Conversation

@exekias

@exekias exekias commented Jul 2, 2026

Copy link
Copy Markdown
Member

Adds Triggers (roadmap item 03-triggers) — the new Module 8: Programmability.

Summary

Run a function automatically on INSERT, UPDATE, or DELETE — for maintained columns and audit logs — with CREATE TRIGGER.

Check

One query-returns check (audit-rows-written) — the learner attaches an audit trigger and changes data, and the check verifies the audit rows written.

Verified end-to-end against a non-superuser Postgres 16. npm run lessons:validate (34/34) and next build both pass.

Part of #6

🤖 Generated with Claude Code

Part of #6

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
learn-postgres Ready Ready Preview Jul 2, 2026 3:06pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant