From 3c6f4db7b017dcab56bc5411c2c55e56ad76ef77 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Sat, 18 Jun 2022 13:48:12 +0300 Subject: [PATCH] chore: add database update instructions to README.md --- Readme.md => README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) rename Readme.md => README.md (84%) diff --git a/Readme.md b/README.md similarity index 84% rename from Readme.md rename to README.md index cbf7ec6..35352fe 100644 --- a/Readme.md +++ b/README.md @@ -2,13 +2,18 @@ - C#, Microsoft.EntityFrameworkCore, Razor Pages -### Installation: +### Installation 1. Compile the project (`[~]$ dotnet build -c Release` or in IDE) 2. Copy ~/TicketOffice/wwwroot to the root directory of compiled project (clean database can be found in ~/wwwroot/db) 3. Launch -### Available routes: +### Database update + +1. `[~/TicketOffice]$ dotnet-ef database drop` then confirm database deletion +2. `[~/TicketOffice]$ dotnet-ef database update` + +### Available routes #### № 027