MuseMVP

MuseMVP Base: Next.js for Node and Cloudflare. MuseMVP Flare: an AI SaaS template that runs entirely on Cloudflare. Authentication, billing and administration included.

Product
  • Home
  • Pricing
  • Templates
Resources
  • Docs
  • Blog
  • Changelog
Legal
  • Privacy
  • Terms
  • Community
Open-Launch Top 1 Daily WinnerOpen-Launch Top 1 Daily WinnerVerified DR - Verified Domain Rating for musemvp.comVerified DR - Verified Domain Rating for musemvp.comMuseMVP - Featured on Startup FameMuseMVP - Featured on Startup FameFazier badgeFazier badgeLiftOff award badgeLiftOff award badge

© 2026 MuseMVP. All rights reserved.

MuseMVP
  • Pricing
  • Docs
  • Blog
  • Changelog
Buy All in One
MuseMVP Docs
MuseMVP Docs
OverviewTech StackQuick Start
Project Structure
Database ConfigurationDatabase Migrations
EmailObject Storage
Internationalization
SEOAnalytics
Database

Database Migrations

Review and apply PostgreSQL migrations with backups and release checks.

PostgreSQL uses its own reviewed migration history.

SchemaConfigurationMigrations
packages/db/src/schema.tspackages/db/drizzle.config.tspackages/db/src/migrations/

Postgres

Root commands load apps/web/.env.local through dotenv:

pnpm db:generate
pnpm db:status
pnpm db:migrate

Fresh installations use the current 0000_initial.sql baseline. pnpm db:push is for development prototypes, not reviewed production migrations. Verify the target connection and back up before production migrations.

Existing Databases

The latest version resets the baseline. Do not apply the new 0000_initial.sql as an upgrade migration to an existing production database. Legacy databases may have old journals and settings tables: back up, compare schema/history on a clone, and design incremental migrations for your derivative. Current root scripts have neither a legacy settings export command nor drizzle:* aliases.

Write failing tests first. Append migrations instead of rewriting applied SQL or faking journals. Test the selected schema, SQL queries, defaults, indexes, and failure recovery before release.

Database Configuration

Start with a development database, inspect your data, and prepare a separate production database.

API Architecture

An overview of MuseMVP's API: why Hono, how it integrates with Next.js, and availability/observability entry points.

On this page

PostgresExisting Databases

One payment. Tax included.

All in One

Base, Flare and every UI template, plus new ones.

$129

Buy All in One