From 068ae79462ccb3f7fbbc14a3925c7923e57274ec Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Thu, 4 Jun 2026 01:09:33 +0100 Subject: [PATCH] chore: update dev seed data with loyalty stamps Primary test user (user@example.com) now has 4 loyalty stamps in seed data for testing the redesigned stamp card. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- local-dev-2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/local-dev-2.sh b/local-dev-2.sh index 030a0a8..48c1a4f 100755 --- a/local-dev-2.sh +++ b/local-dev-2.sh @@ -298,8 +298,8 @@ if api_post "$BASE_URL/register" '{"firstName":"Liam","lastName":"Caldwell","ema # --- Promote admin and set deposit flags via DB --- docker exec postgres psql -U myuser -d mydb -c "UPDATE users SET account_role = 'admin' WHERE email = 'admin@example.com'" -# Primary test user: verified role for card testing, zero deposit requirement -docker exec postgres psql -U myuser -d mydb -c "UPDATE users SET account_role = 'verified_email', deposits_required = 0 WHERE email = 'user@example.com'" +# Primary test user: verified role for card testing, zero deposit requirement, 4 loyalty stamps +docker exec postgres psql -U myuser -d mydb -c "UPDATE users SET account_role = 'verified_email', deposits_required = 0, loyalty_stamps = 4 WHERE email = 'user@example.com'" # Loyal regulars: zero deposit requirement docker exec postgres psql -U myuser -d mydb -c "UPDATE users SET deposits_required = 0 WHERE email IN ('emma.johnson@example.com','sophie.williams@example.com','amelia.jones@example.com','isla.davies@example.com','lily.wilson@example.com','ava.walker@example.com','grace.fletcher@example.com')" > /dev/null 2>&1 # Deposit-required users: 3 no-shows on record