aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-10-10 23:42:39 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-10-10 23:42:39 -0400
commit077603e099e63175424fd4b9ee9f7709bbe11840 (patch)
tree356139ab3ac2e725964dcf13ed1fe22c22fe0e71
parentReorganize functions in deploy-docs (diff)
downloadcli-077603e099e63175424fd4b9ee9f7709bbe11840.zip
Update bolt-postgres run command in tutorial
-rw-r--r--docs/tutorial.md19
1 files changed, 12 insertions, 7 deletions
diff --git a/docs/tutorial.md b/docs/tutorial.md
index 73ebbf0..d163f23 100644
--- a/docs/tutorial.md
+++ b/docs/tutorial.md
@@ -74,12 +74,14 @@ If you don't have docker installed, view the installation instructions [here](ht
2. Startup the PostgreSQL container
```bash
-docker run --name bolt-postgres \
- -e POSTGRES_USER=bolt_user \
- -e POSTGRES_PASSWORD=bolt_password \
- -e POSTGRES_DB=bolt_tutorial_db \
- -p 5432:5432 \
- --detach postgres:16.1-alpine3.19
+docker run \
+ --name bolt-postgres \
+ --env POSTGRES_USER=bolt_user \
+ --env POSTGRES_PASSWORD=bolt_password \
+ --env POSTGRES_DB=bolt_tutorial_db \
+ --publish 5432:5432 \
+ --detach \
+ postgres:latest
```
## Configuring Bolt
@@ -148,7 +150,10 @@ bolt_tutorial_db=# \dt
(2 rows)
```
-We can see that our `users` table was created successfully. We also see another table that we didn't explicitly create called `bolt_migrations`. This table is used by Bolt to keep track of which migrations have been applied to your database. You should not modify this table manually.
+We can see that our `users` table was created successfully. We also see another
+table that we didn't explicitly create called `bolt_migrations`. This table is
+used by Bolt to keep track of which migrations have been applied to your
+database. Generally, you should not modify this table manually.
## Downgrading Your Migration