See [https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/?tabs=dotnet-core-cli] (https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/?tabs=dotnet-core-cli) See [https://learn.microsoft.com/en-us/ef/core/cli/dotnet] (https://learn.microsoft.com/en-us/ef/core/cli/dotnet)
> dotnet ef database drop
> rm -r Migrations
> dotnet ef migrations add InitialCreate
> dotnet ef database update
> dotnet run --launch-profile https
or
$Env:ASPNETCORE_ENVIRONMENT = "Development"
dotnet run --no-launch-profile --urls="https://localhost:7070"
> dotnet publish --configuration Release
> chown -R gaos:gaos /opt/gaos/bin/Release/net7.0/publish