Back to list
0xsend

supabase-schema

by 0xsend

The Send App monorepo.

33🍴 18📅 Jan 23, 2026

SKILL.md


name: supabase-schema description: Supabase declarative schema workflow. Use when modifying database schemas, creating migrations, or working with PostgreSQL types. Covers the stop-edit-diff-start cycle.

Supabase Declarative Schema

Send uses Supabase's Declarative Schema approach. Schemas are defined in supabase/schemas/ - migrations are generated from schema changes, not written manually.

Schema Change Workflow

IMPORTANT: Always stop the database before modifying schema files.

# 1. Stop database
cd supabase && yarn stop

# 2. Edit schema files in supabase/schemas/

# 3. Generate migration from changes
cd supabase && yarn migration:diff <migration_name>

# 4. Start database to apply
cd supabase && yarn start

Common Commands

# Start local Supabase
cd supabase && yarn start

# Reset database (after migration changes)
cd supabase && yarn reset

# Generate TypeScript types
cd supabase && yarn generate

# Run database tests
cd supabase && yarn test

Schema Files

Location: supabase/schemas/

Edit these files directly. The CI pipeline includes schema drift detection to ensure migrations stay in sync with declarative schemas.

After Schema Changes

  1. Reset database: cd supabase && yarn reset
  2. Regenerate types: cd supabase && yarn generate
  3. Run tests: cd supabase && yarn test

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

0/5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon