From 605983f42247a18bc9d75e8c7072d69b957e9f09 Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Mon, 23 Aug 2021 14:26:34 -0400 Subject: [PATCH] Mention the forward-only migrations in the docs (#1767) --- docs/3-Contributing/3-Migrations.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/3-Contributing/3-Migrations.md b/docs/3-Contributing/3-Migrations.md index 6727303456..3f554fa365 100644 --- a/docs/3-Contributing/3-Migrations.md +++ b/docs/3-Contributing/3-Migrations.md @@ -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