diff options
| author | Alexis Métaireau <alexis@vieuxsinge.com> | 2018-12-25 17:44:42 +0100 |
|---|---|---|
| committer | Alexis Métaireau <alexis@vieuxsinge.com> | 2018-12-25 17:44:42 +0100 |
| commit | c317bfa576b472aed2e4ec5725bcd33b1dd1b9d8 (patch) | |
| tree | acaf1424515983e96c8ccea5daa2aa0f99f269d0 | |
| parent | bd689fe01df83b6fa4ce39d1a35a65375043281f (diff) | |
| parent | 6ca99a340c9988fbb90793851f5ff91453a1023c (diff) | |
| download | ihatemoney-mirror-c317bfa576b472aed2e4ec5725bcd33b1dd1b9d8.zip ihatemoney-mirror-c317bfa576b472aed2e4ec5725bcd33b1dd1b9d8.tar.gz ihatemoney-mirror-c317bfa576b472aed2e4ec5725bcd33b1dd1b9d8.tar.bz2 | |
Merge branch 'almet/doc-migrations'
| -rw-r--r-- | CHANGELOG.rst | 6 | ||||
| -rw-r--r-- | docs/contributing.rst | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2c52315..69fe0fc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 ======= diff --git a/docs/contributing.rst b/docs/contributing.rst index 4b9e58b..bcb3f16 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -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:: |
