Workflow Detail

Database Setup

Provision database, create branches, and apply migrations.

4 steps~25 mindatabasemigrations

Required env vars: SUPABASE_ACCESS_TOKEN, NEON_API_KEY, DATABASE_URL, ANSIBLE_CONFIG

Auth needed for: Supabase CLI, Neon CLI, Ansible CLI

Step 1Supabase CLIAuth required

Execute Supabase CLI stage in database setup workflow.

Authentication

  • Step 1 Authenticate CLI profile for this provider.
  • Step 2 Set required environment variables: SUPABASE_ACCESS_TOKEN

supabase bootstrap

Bootstrap a Supabase project from a starter template

supabase db

Manage Postgres databases

Step 2Neon CLIAuth required

Execute Neon CLI stage in database setup workflow.

Authentication

  • Step 1 Export required environment variables: NEON_API_KEY

neon auth

Authenticate Neon CLI

neon projects list

List Neon projects

Execute Prisma CLI stage in database setup workflow.

prisma init

Set up Prisma for your app

prisma dev

Start a local Prisma Postgres server for development

Step 4Ansible CLIAuth required

Execute Ansible CLI stage in database setup workflow.

Authentication

  • Step 1 Export required environment variables: ANSIBLE_CONFIG

ansible playbook

Run playbook

ansible inventory

Inspect inventory