Skip to content

Commit 32eea96

Browse files
authored
Update migrations.md
1 parent 7703172 commit 32eea96

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docs/migrations.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,13 @@ non-transactional statements include:
7272

7373
```sql
7474
ALTER SYSTEM
75-
CLUSTER
7675
CREATE DATABASE
7776
CREATE EXTENSION
7877
CREATE ROLE
7978
CREATE TABLESPACE
80-
DISCARD ALL
8179
DROP DATABASE
8280
DROP EXTENSION
8381
DROP TABLESPACE
84-
LOAD
85-
REINDEX
86-
VACUUM
8782
```
8883

8984
## Suggested File Layout
@@ -103,7 +98,8 @@ While developing, you can reset and rebuild the database from scratch as often
10398
as needed:
10499

105100
```sh
106-
docker compose down --volumes; docker compose up -d
101+
docker compose down --volumes
102+
docker compose up -d
107103
```
108104

109105
Once you’ve deployed to production (or another persistent environment), avoid
@@ -116,7 +112,7 @@ recreating the database. Instead:
116112
bin/postgres migrate
117113
```
118114

119-
In other environments where `bin/postgres` isn't available:
115+
Or in other environments where `bin/postgres` isn't available:
120116

121117
```sh
122118
docker compose exec postgres migrate

0 commit comments

Comments
 (0)