Skip to content

Database Setup

The platform uses Cloudflare D1 (SQLite) to store metadata.

Create a new D1 database via the Cloudflare dashboard or Wrangler:

Terminal window
npx wrangler d1 create expo-updater-db

Copy the database_id and update it in your apps/update-server/wrangler.jsonc file.

The database schema is managed via Drizzle. Run the migrations to initialize your tables:

Terminal window
# From the root directory
pnpm run db:migrate:deploy

This will create the analytics, dau, branches, channels, and updates tables.