Merge branch 'almet/doc-migrations'

This commit is contained in:
Alexis Métaireau 2018-12-25 17:44:42 +01:00
commit c317bfa576
2 changed files with 6 additions and 3 deletions

View file

@ -6,7 +6,10 @@ This document describes changes between each past release.
3.1 (unreleased)
----------------
- Nothing changed yet.
Added
=====
- Document database migrations (#390)
3.0 (2018-11-25)
@ -41,7 +44,6 @@ Added
- Improve settings documentation styling (#251)
- Add a ihatemoney delete-project command to delete a project (#375)
- Add nice 404 error pages (#379)
- Document database migrations (#390)
Changed
=======

View file

@ -55,7 +55,8 @@ Then run the following command to create a new database revision file::
make create-database-revision
If your changes are simple enough, the generated script will be populated with
the necessary migrations steps.
the necessary migrations steps. You can edit the generated script. eg: to add data migrations.
For complex migrations, it is recommended to start from an empty revision file which can be created
with the following command::