From 937cc84765af5a10d5f1390fd7c248841ce722a0 Mon Sep 17 00:00:00 2001 From: im-adithya Date: Thu, 22 Feb 2024 17:59:07 +0530 Subject: [PATCH] chore: fix migration README --- migrations/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/migrations/README.md b/migrations/README.md index f44f40e..1f7f95a 100644 --- a/migrations/README.md +++ b/migrations/README.md @@ -3,6 +3,9 @@ 1. Create a new file based on the current date and time (see existing migration format) 2. Copy the following code and update MY_ID_HERE and MY_COMMENT_HERE and DO_SOMETHING_HERE 3. Add the ID to the list of migrations in migrate.go +4. If possible, add a rollback function. + +*For Postgres/Sqlite specific migrations, see the [initial migration](202402161653.go)* ```go package migrations