mealie-recipes / mealie

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor
https://docs.mealie.io
GNU Affero General Public License v3.0
5.61k stars 611 forks source link

docs: Add doco for db changes #3721

Closed boc-the-git closed 3 weeks ago

boc-the-git commented 3 weeks ago

What type of PR is this?

What this PR does / why we need it:

Adds some documentation for how to go about DB changes. I wrote this ages ago as part of https://github.com/mealie-recipes/mealie/pull/2930 which is on hold, so splitting it out separately to unblock the docs.

Which issue(s) this PR fixes:

None.

boc-the-git commented 3 weeks ago

3437 added task py:migrate

Might be good to use that in the dev guide as it sets the appropriate flags and we can extend that if needed in the future.

https://github.com/mealie-recipes/mealie/blob/21f1d46b6de06f954895e8dc79451a0676101aa1/Taskfile.yml#L150

Good spot. Updated.