Skip to content

Add seed.sql for Supabase branch databases - #35

Merged
jasoncrawford merged 1 commit into
mainfrom
add-seed-sql
Feb 21, 2026
Merged

jasoncrawford merged 1 commit into
mainfrom
add-seed-sql

Conversation

@jasoncrawford

Copy link
Copy Markdown
Collaborator

Summary

  • Adds supabase/seed.sql with test data for Supabase Branching (preview deploy databases)
  • Creates a test auth user (test@example.com / testpassword123), two sample sites, and a test contact
  • The config.toml already references ./seed.sql with seeding enabled — no config changes needed

Manual dashboard steps (not automatable)

After merging, complete the Supabase Branching setup:

  1. Supabase Pro plan — upgrade if not already
  2. Install Supabase Vercel integration — connect site-status projects
  3. Enable GitHub integration in Supabase — authorize repo, set directory to ./supabase
  4. Enable Branching — confirm production branch is main
  5. Vercel env vars — leave RESEND_API_KEY / RESEND_FROM_EMAIL unset for Preview scope

Test plan

  • Open a test PR after Supabase Branching is enabled
  • Verify branch DB is created in Supabase Dashboard
  • Verify preview deploy uses branch-specific Supabase URL
  • Log in with test@example.com / testpassword123 on preview
  • Add a site on preview, confirm prod is unaffected
  • Close test PR, verify branch DB is cleaned up

🤖 Generated with Claude Code

Provides test data for preview deploys using Supabase Branching:
- Test auth user (test@example.com / testpassword123)
- Two sample sites
- One test contact

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
site-status Ready Ready Preview, Comment Feb 21, 2026 4:27pm

Request Review

@jasoncrawford
jasoncrawford merged commit 4356f47 into main Feb 21, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — d01d29cf Deployed Feb 21, 2026 by vercel[bot]
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