add note about migrations

master
Jerrica Bobadilla 5 years ago committed by GitHub
parent e2df7b0d75
commit 6c8eeb2fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -95,4 +95,12 @@ To build your app, we're going to be building a virtual environment. In order to
--- ---
## Making Changes
### Updating / Creating Models
1. If you make any changes to the `contacts/models.py` file, you will need to make and run a migration to apply the changes. You can do so by using the following commands while _inside the pipenv shell_
1. Make the migration: `python3 manage.py makemigrations`
1. Apply the migration: `python3 manage.py migrate`
---

Loading…
Cancel
Save