Skip to content

docs: update the "new migration create" doc to cover missing steps #1553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 17, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update migrations/README.md
Co-authored-by: Kang Ming <[email protected]>
  • Loading branch information
samrose and kangmingtay authored Apr 17, 2025
commit 7f767a633c4f9471360b8b3ca039cf4df0e59ac3
2 changes: 1 addition & 1 deletion migrations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Then, in your main terminal window:

```shell
# Set up the database URL for migrations
export DATABASE_URL="postgres://postgres@localhost:5435/postgres?sslmode=disable"
export DATABASE_URL="postgres://supabase_admin@localhost:5435/postgres?sslmode=disable"

# Create a new migration (make sure to specify the migrations directory)
dbmate --migrations-dir="migrations/db/migrations" new '<some message>'
Expand Down
Loading