Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Sep 5, 2024
1 parent 64aa1e2 commit 4a53ac1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rust/bin/migrate-cyclotron
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ SCRIPT_DIR=$(dirname "$(readlink -f "$0")")
export DATABASE_NAME=${DATABASE_NAME:-cyclotron}
export DATABASE_URL=${DATABASE_URL:-postgres://posthog:posthog@localhost:5432/$DATABASE_NAME}

echo "Script dir: $SCRIPT_DIR"

sqlx database create -D "$DATABASE_URL"
sqlx migrate run -D "$DATABASE_URL" --source $SCRIPT_DIR/../cyclotron-core/migrations

0 comments on commit 4a53ac1

Please sign in to comment.