https://github.com/fenos/supabase-atlas-migrations
A PoC for Supabase + Atlas Migrations
https://github.com/fenos/supabase-atlas-migrations
Last synced: 3 months ago
JSON representation
A PoC for Supabase + Atlas Migrations
- Host: GitHub
- URL: https://github.com/fenos/supabase-atlas-migrations
- Owner: fenos
- Created: 2023-05-19T09:32:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-19T11:59:46.000Z (about 3 years ago)
- Last Synced: 2025-12-26T20:58:16.900Z (6 months ago)
- Language: HCL
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Supabase + Atlas
This project is a PoC to show how to use Supabase with Atlas for managing migrations.
## Requirements
- [Supabase CLI](https://supabase.com/docs/guides/cli#installation) installed:
```shell
brew install supabase/tap/supabase
```
- Docker Running on your machine.
## Getting started
Clone the repo:
```shell
git clone https://github.com/fenos/supabase-atlas-migrations
```
Start supabase local development:
```shell
supabase start
```
#### Migrate with Atlas
```shell
make apply
```
#### Check migration status
```shell
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.