Skip to content

Commit 4d3b31c

Browse files
committed
2 parents 9488f2e + 32eea96 commit 4d3b31c

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

docs/migrations.md

Lines changed: 4 additions & 11 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
## Environment Variables
@@ -103,10 +98,7 @@ create role authenticator noinherit login password :'pgrst_authenticator_pass';
10398

10499
## Suggested File Layout
105100

106-
SuperStack doesn’t enforce any particular migration file names or layout —
107-
you’re free to organise them however you like.
108-
109-
Here’s a simple structure you might adopt during development (before
101+
SuperStack doesn’t enforce any particular migration file names or layout, but here’s a simple structure you might adopt during development (before
110102
production):
111103

112104
```
@@ -121,7 +113,8 @@ While developing, you can reset and rebuild the database from scratch as often
121113
as needed:
122114

123115
```sh
124-
docker compose down --volumes; docker compose up -d
116+
docker compose down --volumes
117+
docker compose up -d
125118
```
126119

127120
Once you’ve deployed to production (or another persistent environment), avoid
@@ -134,7 +127,7 @@ recreating the database. Instead:
134127
bin/postgres migrate
135128
```
136129

137-
In other environments where `bin/postgres` isn't available:
130+
Or in other environments where `bin/postgres` isn't available:
138131

139132
```sh
140133
docker compose exec postgres migrate

0 commit comments

Comments
 (0)