From 254cb7641e8779f92a98b1764a727d86e5987793 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Fri, 17 Feb 2023 10:25:14 +0200 Subject: [PATCH] docs(api): note about new migrations --- api/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/README.md b/api/README.md index db2b3d7..e201f7f 100644 --- a/api/README.md +++ b/api/README.md @@ -13,3 +13,7 @@ database that the other script sets up. `scripts/dev-migr-redo.sh` can be used to redo the migrations. As in, it will run down.sql, and then up.sql again, useful for making sure migrations work correctly, and for experimenting. + +## Misc Notes +### Generate new migrations +`~/.cargo/bin/diesel migration generate migration_name` -- 2.44.1