From b8d256d1374f1c1e6d3b914fdfd0f7bf3da830fc Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 15 May 2021 16:45:47 -0400 Subject: [PATCH] update readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index bb31e4acee..ead1735859 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,20 @@ storyteller-web =============== This is our main user account monolith that we'll also bake other pieces into. +Local development +----------------- + +### Database migrations + +To reset the entire database (drop, migrate), run: + +```diesel database reset``` + +To migrate at the current step and beyond: + +```diesel migration run``` + +To undo migrations at the current step: + +```diesel migration redo``` +