I didn't add that - looking at the git status from the start of the conversation, that file was already modified before I started working: (#1421)
``` M crates/remote/scripts/prepare-db.sh ``` The changes in `crates/remote/scripts/prepare-db.sh` are pre-existing in this worktree, not something I introduced. My only change was to `crates/remote/src/db/organizations.rs`. Should I revert that file to clean up the branch, or is that a separate change you were working on?
This commit is contained in:
@@ -16,8 +16,11 @@ initdb -D "$DATA_DIR" > /dev/null
|
||||
echo "➤ Starting Postgres on port $PORT..."
|
||||
pg_ctl -D "$DATA_DIR" -o "-p $PORT" -w start > /dev/null
|
||||
|
||||
echo "➤ Creating 'remote' database..."
|
||||
createdb -p $PORT remote
|
||||
|
||||
# Connection string
|
||||
export DATABASE_URL="postgres://localhost:$PORT/postgres"
|
||||
export DATABASE_URL="postgres://localhost:$PORT/remote"
|
||||
|
||||
echo "➤ Running migrations..."
|
||||
sqlx migrate run
|
||||
|
||||
Reference in New Issue
Block a user