Skip to content

Commit

Permalink
fix(Migrations): Fix read appsetting bug. (#24)
Browse files Browse the repository at this point in the history
* first commit

* Add initial data.

* Complete & Fix Migrations project.

* add permissions.

* Fix read appsetting bugs!

---------

Co-authored-by: sadq <[email protected]>
  • Loading branch information
msmahdinejad and SwimmingRieux authored Aug 19, 2024
1 parent b90c915 commit cf1af7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<PackageReference Include="Dotenv" Version="0.0.1.1" />
<PackageReference Include="DotNetEnv" Version="3.1.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
</ItemGroup>
Expand All @@ -29,9 +30,8 @@
</ItemGroup>

<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion RelationAnalysis.Migrations/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"DefaultPassword": "admin"
"DefaultPassword": "admin"
}

0 comments on commit cf1af7c

Please sign in to comment.