From 759fa054171166e18289f1c95b40bbfdfc181f21 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Mon, 25 Nov 2024 17:02:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20=E2=80=94=20Avoid=20scrolling=20?= =?UTF-8?q?on=20a=20documented=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/developer/migrations.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/developer/migrations.md b/docs/developer/migrations.md index 183bd47..2d0ab46 100644 --- a/docs/developer/migrations.md +++ b/docs/developer/migrations.md @@ -10,7 +10,8 @@ First, do your changes in the code, change the model, add new tables, etc. Once you're done, you can create a new migration. ```bash -venv/bin/alembic -c argos/server/migrations/alembic.ini revision --autogenerate -m "migration reason" +venv/bin/alembic -c argos/server/migrations/alembic.ini revision \ + --autogenerate -m "migration reason" ``` Edit the created file to remove comments and adapt it to make sure the migration is complete (Alembic is not powerful enough to cover all the corner cases).