/supabase-atlas-migrations

A PoC for Supabase + Atlas Migrations

Primary LanguageHCL

Supabase + Atlas

This project is a PoC to show how to use Supabase with Atlas for managing migrations.

Requirements

brew install supabase/tap/supabase
  • Docker Running on your machine.

Getting started

Clone the repo:

git clone https://github.com/fenos/supabase-atlas-migrations

Start supabase local development:

supabase start

Migrate with Atlas

make apply

Check migration status

make status

Rollback with Atlas

TBD

Creating a new migration

The atlas schema definition is located under schema folder. Once you modify the schema you'll need to run make gen to generate the corresponded migration.