Cette PR ajoute un champ booléen 'deployed' pour un item de l'inventaire.
La seule modification induite par le déploiement d'un objet est qu'il est rendu indisponible (qu'il soit emprunté ou non).
Cette PR ajoute un champ booléen 'deployed' pour un item de l'inventaire.
La seule modification induite par le déploiement d'un objet est qu'il est rendu indisponible (qu'il soit emprunté ou non).
You need to run ./manage.py makemigrations and then commit the migration file.
Basically, every time you update a */models.py you should run makemigrations and commit the files.
Otherwise the code works. Thank you.
The migration file is missing.
You need to run `./manage.py makemigrations` and then commit the migration file.
Basically, every time you update a `*/models.py` you should run `makemigrations` and commit the files.
Otherwise the code works. Thank you.
Cette PR ajoute un champ booléen 'deployed' pour un item de l'inventaire. La seule modification induite par le déploiement d'un objet est qu'il est rendu indisponible (qu'il soit emprunté ou non).
LGTM
The migration file is missing.
You need to run
./manage.py makemigrations
and then commit the migration file.Basically, every time you update a
*/models.py
you should runmakemigrations
and commit the files.Otherwise the code works. Thank you.
Fichier de migration ajouté
Nice, thank you.