aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-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