mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 17:52:37 +02:00
Merge branch 'almet/doc-migrations'
This commit is contained in:
commit
c317bfa576
2 changed files with 6 additions and 3 deletions
|
@ -6,7 +6,10 @@ This document describes changes between each past release.
|
||||||
3.1 (unreleased)
|
3.1 (unreleased)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
- Nothing changed yet.
|
Added
|
||||||
|
=====
|
||||||
|
|
||||||
|
- Document database migrations (#390)
|
||||||
|
|
||||||
|
|
||||||
3.0 (2018-11-25)
|
3.0 (2018-11-25)
|
||||||
|
@ -41,7 +44,6 @@ Added
|
||||||
- Improve settings documentation styling (#251)
|
- Improve settings documentation styling (#251)
|
||||||
- Add a ihatemoney delete-project command to delete a project (#375)
|
- Add a ihatemoney delete-project command to delete a project (#375)
|
||||||
- Add nice 404 error pages (#379)
|
- Add nice 404 error pages (#379)
|
||||||
- Document database migrations (#390)
|
|
||||||
|
|
||||||
Changed
|
Changed
|
||||||
=======
|
=======
|
||||||
|
|
|
@ -55,7 +55,8 @@ Then run the following command to create a new database revision file::
|
||||||
make create-database-revision
|
make create-database-revision
|
||||||
|
|
||||||
If your changes are simple enough, the generated script will be populated with
|
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
|
For complex migrations, it is recommended to start from an empty revision file which can be created
|
||||||
with the following command::
|
with the following command::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue