Skip to content

[Backend] Add Supabase migrations and seed data for local developmentΒ #17

Description

@Gbangbolaoluwagbemiga

Problem

New contributors have no idea what tables need to exist. No migration files are checked in.

What needs to be done

  1. Export migrations to `supabase/migrations/`:

    • `0001_create_messages.sql`
    • `0002_create_conversations.sql`
    • `0003_create_notifications.sql`
  2. Seed file at `supabase/seed.sql` with sample conversations and notifications

  3. Local setup via Supabase CLI:
    ```bash
    supabase start
    supabase db reset # applies migrations + seed
    ```

  4. Update CONTRIBUTING.md with local Supabase setup steps

Acceptance criteria

  • `supabase db reset` works from clean clone
  • All tables exist after reset
  • CONTRIBUTING.md updated

Good first issue: SQL only, no blockchain knowledge needed.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendNode.js / Express / Supabase workdxDeveloper experience improvementsgood first issueWelcoming to new contributors

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions