Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit 263732f

Browse files
Merge pull request #31 from mountainash/docs/two-cmds-not-one
docs(readabilty): added line return to `$ drizzle-kit introspect:pg`
2 parents c87713d + 1863c24 commit 263732f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

readme.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ To easily migrate from previous folder structure to new you need to run `up` com
134134
`--breakpoints` [optional default=false] whether to execute each statement in the migrations individually\
135135

136136
```shell
137-
$ drizzle-kit generate:pg
138-
## runs generate command with drizzle.config.json
137+
$ drizzle-kit generate:pg
138+
## runs generate command with drizzle.config.json
139139

140140
$ drizzle-kit generate:pg --config=./custom.config.json
141-
## runs generate command with custom.config.json
141+
## runs generate command with custom.config.json
142142

143143
$ drizzle-kit generate:pg --schema=./src/schema.ts
144144
## runs generate command and outputs results to ./drizzle
@@ -151,14 +151,14 @@ $ drizzle-kit generate:pg --schema=./src/schema.ts --out=./migrations/
151151

152152
```shell
153153
$ drizzle-kit generate:pg --custom
154-
## runs generate command and outputs an empty migration for custom SQL
155-
```
154+
## runs generate command and outputs an empty migration for custom SQL
155+
```
156156

157157
### Introspect existing database and generate typescript schema
158158

159159
---
160160

161-
**`$ drizzle-kit introspect:pg`**
161+
**`$ drizzle-kit introspect:pg`** \
162162
**`$ drizzle-kit introspect:mysql`**
163163

164164
```shell
@@ -174,7 +174,7 @@ drizzle-kit introspect:pg --out=migrations/ --host=0.0.0.0 --port=5432 --user=po
174174
---
175175

176176
**`$ drizzle-kit up:pg`** \
177-
**`$ drizzle-kit up:mysql`**\
177+
**`$ drizzle-kit up:mysql`** \
178178
**`$ drizzle-kit up:sqlite`**
179179

180180
`--out` [optional] migrations folder\
@@ -184,7 +184,7 @@ drizzle-kit introspect:pg --out=migrations/ --host=0.0.0.0 --port=5432 --user=po
184184
## migrations folder is taken from drizzle.config.json
185185
drizzle-kit up:mysql
186186

187-
drizzle-kit up:mysql --out=migrations/
187+
drizzle-kit up:mysql --out=migrations/
188188
```
189189

190190
![](media/up_mysql.gif)
@@ -193,7 +193,7 @@ drizzle-kit up:mysql --out=migrations/
193193

194194
---
195195

196-
**`$ drizzle-kit drop`** \
196+
**`$ drizzle-kit drop`**
197197

198198
`--out` [optional] migrations folder\
199199
`--config` [optional default=drizzle.config.json] config file path
@@ -204,8 +204,8 @@ drizzle-kit up:mysql --out=migrations/
204204

205205
---
206206

207-
**`$ drizzle-kit check:pg`**\
208-
**`$ drizzle-kit check:mysql`**\
207+
**`$ drizzle-kit check:pg`** \
208+
**`$ drizzle-kit check:mysql`** \
209209
**`$ drizzle-kit check:sqlite`**
210210

211211
`--out` [optional] migration folder\
@@ -215,5 +215,5 @@ drizzle-kit up:mysql --out=migrations/
215215
## migrations folder is taken from drizzle.config.json
216216
drizzle-kit check:pg
217217

218-
drizzle-kit check:pg --out=migrations/
218+
drizzle-kit check:pg --out=migrations/
219219
```

0 commit comments

Comments
 (0)