Generate database table description¶
Note
This guide works only for the postgres database running locally in a Docker container.
Short way (single command)¶
(Optional) Get all table names
This is helpful for getting a list of table names to use in the next command.
- 
Get table description
This command prints the table description to the terminal.
Example table name:
core_user 
Long way (interactive)¶
- 
Enter the database shell in the docker container (\q to exit)
 - 
Get list of tables
 - 
Get table description
 
When to use this¶
- It's useful to generate the latest table description in text format for verification after making updates to a table.
 
Who should use this¶
- Developers