1.0.16 • Published 7 months ago

supagrate v1.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Supagrate

The missing tool for Supabase migrations.

Installation

Commands

CommandDescription
supagrate initSetup your project with supagrate
supagrate migrate downRollback your migrations one by one
supagrate migrate newGenerate a new migration
supagrate migrate resetReset your database and apply all migrations again
supagrate migrate upApply your migrations one by one
supagrate seed applyApply a seeder to your database
supagrate seed newGenerate a new seeder
supagrate statusView the migration status of your database

Roadmap

  • Use already setup Supabase CLI to login to the DB
  • Allow 0 setup for remote DB (to be able to run migrations on GitHub Actions)
  • Assume local DB is postgresql://postgres:postgres@localhost:54322/postgres?sslmode=disable
  • Allow the generation of migrations
  • Use up.sql and down.sql files for migrations
  • Allow complete reset of the DB
  • Allow the application (up) of migrations
  • Allow the rollback of migrations
  • Allow the generation of arbitrary seeder
  • Allow the application of arbitrary seeder
1.0.16

7 months ago

1.0.14

7 months ago

1.0.13

7 months ago

1.0.12

7 months ago

1.0.10

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

7 months ago