Skip to content

Make database migration safe and obvious for Vercel installs #152

Description

@zaridan

Make database migration safe and obvious for Vercel installs.

Current state:

  • Migrations exist and are run manually through scripts/migrate.ts.
  • External operators need a safe, documented way to initialize and upgrade the database.

Acceptance:

  • Fresh install path includes a clear migration step or safe first-run migration mechanism.
  • Migrations are idempotent and concurrency-safe in the deployment path.
  • Failures surface as actionable setup/admin diagnostics, not generic 500s.
  • Upgrade docs explain when and how migrations run.
  • The approach works with Supabase Postgres in Vercel/serverless conditions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:installInstall, setup, deploy, and operator onboardingarea:opsHealth, diagnostics, backup, restore, and operational readinesspriority:p0Critical path or launch blockertype:taskPlanned implementation task

    Type

    No type

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions