@@ -194,10 +194,10 @@ Let's look at the situation from the console. First, the _\d_ command, which tel
194194
195195``` sql
196196postgres= # \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
210210postgres= # \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 | | |
218218Indexes:
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
234234postgres= # 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