Skip to content

8.2 Command to show tables show nothing as they were not created #12

@staticdev

Description

@staticdev
  • Rentomatic version: 2.0.1
  • Python version: -
  • Operating System: -

Description

If you follow the book to that part:
Now we can list the available tables with \dt and describe a table with \d

You will get no tables:

application=# \dt
Did not find any relations.
application=# \d
Did not find any relations.

This is because ./manage.py init-postgres is only creating the db, and after that, you are asked to add a line of data with insert before the tables are created.

What I Did

Followed the book.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions