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 <clio-agent@sisyphuslabs.ai>
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user