From 7c4f0712432c972b574e74974fe356244f9430d2 Mon Sep 17 00:00:00 2001 From: Lasse Benninga Date: Wed, 15 Jul 2026 08:42:16 +0200 Subject: [PATCH] fix(week11): clarify .env.example placeholder and add sslmode Rename the misleading `pipeline_user` placeholder to `your-pg-user`: students' actual Week 9/10 logins are their own names, and a student who keeps `pipeline_user` verbatim hits an auth failure. Also append `?sslmode=require` so the example matches what the README already instructs (line 69) and how Azure Postgres is meant to be reached. Neither change caused the reported "relation dev_.fct_trips does not exist" error (that was a wrong database in a student's own .env), but both remove a foot-gun and keep the example self-consistent. Co-Authored-By: Claude Fable 5 --- week11-streamlit/.env.example | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/week11-streamlit/.env.example b/week11-streamlit/.env.example index 9d5542e..810f19b 100644 --- a/week11-streamlit/.env.example +++ b/week11-streamlit/.env.example @@ -1,4 +1,6 @@ # PostgreSQL connection string (your Week 9/10 login) -POSTGRES_URL=postgresql://pipeline_user:your-pg-password@your-pg-host:5432/team1 +# Keep the database name as team1 and the ?sslmode=require suffix; only swap +# in your own user, password, and host. +POSTGRES_URL=postgresql://your-pg-user:your-pg-password@your-pg-host:5432/team1?sslmode=require # Your dev schema name (e.g. dev_jana) DB_SCHEMA=dev_yourname