Skip to content

Commit d2ebd59

Browse files
authored
Update part13a.md - fix table formatting
Add spaces to fix SQL table formatting
1 parent 2775b24 commit d2ebd59

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/content/13/en/part13a.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ Let's look at the situation from the console. First, the _\d_ command, which tel
194194

195195
```sql
196196
postgres=# \d
197-
List of relations
198-
Schema | Name | Type | Owner
199-
--------+--------------+----------+----------------
200-
public | notes | table | username
197+
List of relations
198+
Schema | Name | Type | Owner
199+
--------+--------------+----------+----------
200+
public | notes | table | username
201201
public | notes_id_seq | sequence | username
202202
(2 rows)
203203
```
@@ -208,13 +208,13 @@ With the command _\d notes_, we can see how the <i>notes</i> table is defined:
208208

209209
```sql
210210
postgres=# \d notes;
211-
Table "public.notes"
212-
Column | Type | Collation | Nullable | Default
211+
Table "public.notes"
212+
Column | Type | Collation | Nullable | Default
213213
-----------+------------------------+-----------+----------+-----------------------------------
214-
id | integer | not null | nextval('notes_id_seq'::regclass)
215-
content | text | | not null |
216-
important | boolean | | | |
217-
date | time without time zone | | | |
214+
id | integer | | not null | nextval('notes_id_seq'::regclass)
215+
content | text | | not null |
216+
important | boolean | | |
217+
date | time without time zone | | |
218218
Indexes:
219219
"notes_pkey" PRIMARY KEY, btree (id)
220220
```
@@ -232,10 +232,10 @@ And let's see what the created content looks like:
232232

233233
```sql
234234
postgres=# select * from notes;
235-
id | content | important | date
235+
id | content | important | date
236236
----+-------------------------------------+-----------+------
237-
1 | relational databases rule the world | t |
238-
2 | MongoDB is webscale | f |
237+
1 | relational databases rule the world | t |
238+
2 | MongoDB is webscale | f |
239239
(2 rows)
240240
```
241241

0 commit comments

Comments
 (0)