From 475a2348d33333cefad8bced84d9e7bc524659b5 Mon Sep 17 00:00:00 2001 From: Anton Lubin Date: Mon, 6 Feb 2023 19:46:16 +0500 Subject: [PATCH] [#377] Edit docs --- CONTRIBUTING.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d86253e28..9b8b74641 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -80,11 +80,14 @@ bin/rails test In order to add a new migration do the following steps: -1. Add a new migration inside the core +1. Add a new migration to `core/db/migrate`. 2. Run the command inside the `web` container - ```bash rake uffizzi_core:install ``` - This command copies the new migration to the `db/migrate` folder + +3. Migrate both `core` and `web` with +``` +bundler exec rails db:migrate +```