Improved migrations
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2019-03-29 16:42:58 +01:00
parent 760c4889c2
commit e63bc7bb09
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,7 @@ In general, this api repo has the following structure:
* `log`
* `mail`
* `metrics`
* `migration`
* `models`
* `red`
* `routes`
@ -71,6 +72,13 @@ This package handles all mail sending. To learn how to send a mail, see [sending
This package handles all metrics which are exposed to the prometheus endpoint.
To learn how it works and how to add new metrics, take a look at [how metrics work]({{< ref "../practical-instructions/metrics.md">}}).
### migration
This package handles all migrations.
All migrations are stored and executed here.
To learn more, take a look at the [migrations docs]({{< ref "../development/migrations.md">}}).
### models
This is where most of the magic happens.