Mention the forward-only migrations in the docs (#1767)

This commit is contained in:
Martin Angers 2021-08-23 14:26:34 -04:00 committed by GitHub
parent a1ceebf267
commit 605983f422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,8 @@ Database schemas are managed by a series of migrations defined in go code. We us
Note: Once committed to the Fleet repo, table migrations should be considered immutable. Any changes to an existing table should take place in a new migration executing ALTERs.
Also note that we don't use the `Down` part of the migrations anymore (older migrations did implement them). The `Down` function should just `return nil`, as we use forward-only migrations.
From the project root run the following shell command:
``` bash