supabase-migration

Installation
SKILL.md

Supabase Migration Generator

Migration Numbering

Early migrations used the sequential series 20240101000001–20240101000038; the project has long since moved to real timestamps. New migrations use a current UTC timestamp YYYYMMDDHHMMSS_description.sql (e.g. 20260603120000_add_x.sql). Never reuse or back-date a number.

New Table — Complete Template

Accounted is multi-tenant: company-scoped business data is owned by company_id and secured with the user_company_ids() RLS helper (NOT auth.uid() = user_id). Every new company-scoped table requires ALL of these. Missing any is a bug.

Installs
1
GitHub Stars
171
First Seen
Jun 18, 2026