Skip to content

Questions... #26

Description

@jasonwhitedev

Just two quick questions.

Why is line 12 of docker-compose.yml this:

  • flask-app-db:/var/lib/postgresql/data
    instead of this:
  • flask-app-db:/var/lib/docker/volumes/flask-app-db/_data
    On Ubuntu using the former means that db data does not persist when the server is restarted.

Why is line 58 of api/views/main.py
message=f"Successfully created person {new_person.name} with id: {new_person._id}" and not
message=f"Successfully created person {new_person.name} with id: {new_person.id}"
Is this just a typo? - new_person._id - new_person.id ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions