Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Latest commit

 

History

History
16 lines (13 loc) · 388 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 388 Bytes

cesp-database

run docker container on remote machine

docker run --name cesp-database --restart always -p 5432:5432 -e POSTGRES_PASSWORD=mSxqFn4x -e POSTGRES_DB=cesp-database -e POSTGRES_USER=cesp-user -d postgres 

Set ASPNETCORE_ENVIRONMENT=Release per session

$Env:ASPNETCORE_ENVIRONMENT = "Release"

Run dotnet migrations

dotnet ef database update