ernestophone.ens.fr/propositions/migrations
Martin Pépin 5381aba922
Remove the nb_{yes,no} fields
These fields duplicate information that is already present in the Answer
table. I guess they exist(ed) as an optimisation to avoid recomputing
the number of positive and negative answers per proposition each time
the list page is loaded. Given the small number of propositions we have
in practice and the extra housekeeping required to keep these fields up
to date, I consider simplicity matters more here.
2020-01-05 16:34:10 +01:00
..
0001_initial.py Specify on_delete everywhere 2018-01-05 00:08:20 +01:00
0002_nom_verbose_name.py New implementation + tests for Prop creation 2020-01-05 00:18:31 +01:00
0003_reponse_renaming_and_cleaning.py Refactor the Reponses model 2020-01-05 15:30:50 +01:00
0004_prop_renaming_and_cleaning.py Refactor the Prop(osition) model 2020-01-05 15:58:16 +01:00
0005_remove_nb_yes_no_fields.py Remove the nb_{yes,no} fields 2020-01-05 16:34:10 +01:00
__init__.py squash all migrations 2017-05-23 09:36:48 +01:00