refactor: rename to Continuity.AuthServer
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 25s
Build, Package and Push Images / sbom-scan (push) Successful in 35s
Build, Package and Push Images / container-build (push) Failing after 56s
Build, Package and Push Images / container-sbom-scan (push) Has been skipped
Build, Package and Push Images / sonarqube (push) Successful in 1m20s
Some checks failed
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 25s
Build, Package and Push Images / sbom-scan (push) Successful in 35s
Build, Package and Push Images / container-build (push) Failing after 56s
Build, Package and Push Images / container-sbom-scan (push) Has been skipped
Build, Package and Push Images / sonarqube (push) Successful in 1m20s
This commit is contained in:
parent
769d0bf21c
commit
1363ddf8fe
59 changed files with 196 additions and 197 deletions
|
@ -29,7 +29,7 @@ jobs:
|
|||
run: dotnet restore
|
||||
- name: Build
|
||||
run: |
|
||||
dotnet build Server -c Release
|
||||
dotnet build Continuity.AuthServer -c Release
|
||||
# dotnet test Server.Tests -c Release
|
||||
|
||||
sonarqube:
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
dotnet sonarscanner begin /key:"${{ secrets.SONAR_PROJECT_KEY }}" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}"
|
||||
- name: Sonarqube Scan
|
||||
run: |
|
||||
dotnet build Server -c Release
|
||||
dotnet build Continuity.AuthServer -c Release
|
||||
# dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults"
|
||||
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
|
||||
- name: Sonarqube End
|
||||
|
@ -84,7 +84,7 @@ jobs:
|
|||
dotnet tool install --global CycloneDX
|
||||
- name: Generate SBOM
|
||||
run: |
|
||||
dotnet CycloneDX Server/Server.csproj -o . -dgl
|
||||
dotnet CycloneDX Continuity.AuthServer/Continuity.AuthServer.csproj -o . -dgl
|
||||
- name: Upload SBOM
|
||||
uses: https://github.com/DependencyTrack/gh-upload-sbom@v2.0.1
|
||||
with:
|
||||
|
@ -122,7 +122,7 @@ jobs:
|
|||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Server/Dockerfile
|
||||
file: Continuity.AuthServer/Dockerfile
|
||||
push: true
|
||||
tags: forge.rainote.dev/${{ github.repository }}:${{ needs.preprocess.outputs.sanitized_branch_name }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
@ -131,7 +131,7 @@ jobs:
|
|||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Server/Dockerfile
|
||||
file: Continuity.AuthServer/Dockerfile
|
||||
push: true
|
||||
tags: forge.rainote.dev/${{ github.repository }}:latest
|
||||
platforms: linux/amd64, linux/arm64
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>warnings</Nullable>
|
||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||
<RootNamespace>Server</RootNamespace>
|
||||
<LangVersion>default</LangVersion>
|
||||
<ServerGarbageCollection>true</ServerGarbageCollection>
|
||||
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
@ -25,7 +25,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
|
@ -25,7 +25,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -51,7 +51,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -94,9 +94,9 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -105,7 +105,7 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Account");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
|
@ -25,7 +25,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -51,7 +51,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -94,7 +94,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -146,9 +146,9 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItem");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -157,9 +157,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Account");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -168,12 +168,12 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
|
@ -25,7 +25,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -51,7 +51,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -100,7 +100,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -152,9 +152,9 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItem");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -223,9 +223,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -234,12 +234,12 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
|
@ -25,7 +25,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -54,7 +54,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -111,7 +111,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -128,7 +128,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -152,7 +152,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -204,15 +204,15 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItem");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -283,15 +283,15 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany()
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -302,9 +302,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -313,17 +313,17 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -25,7 +25,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -54,7 +54,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -111,7 +111,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -128,7 +128,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -152,7 +152,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -204,15 +204,15 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItem");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -283,15 +283,15 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany()
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -302,9 +302,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -313,17 +313,17 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -25,7 +25,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -57,7 +57,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -108,7 +108,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -125,7 +125,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -149,7 +149,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -201,13 +201,13 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItem");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId");
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildId");
|
||||
|
||||
|
@ -276,13 +276,13 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany()
|
||||
.HasForeignKey("CharacterId");
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId");
|
||||
|
||||
|
@ -291,9 +291,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -302,17 +302,17 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -28,7 +28,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -61,7 +61,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -119,7 +119,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -136,7 +136,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -160,7 +160,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -212,13 +212,13 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItem");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId");
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildId");
|
||||
|
||||
|
@ -287,13 +287,13 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany()
|
||||
.HasForeignKey("CharacterId");
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId");
|
||||
|
||||
|
@ -302,9 +302,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -313,17 +313,17 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -28,7 +28,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -61,7 +61,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -119,7 +119,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -136,7 +136,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guilds");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -160,7 +160,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -212,13 +212,13 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId");
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildId");
|
||||
|
||||
|
@ -293,13 +293,13 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany()
|
||||
.HasForeignKey("CharacterId");
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId");
|
||||
|
||||
|
@ -308,26 +308,26 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId");
|
||||
|
||||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -28,7 +28,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -61,7 +61,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -119,7 +119,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -136,7 +136,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guilds");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -160,7 +160,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -212,13 +212,13 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId");
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildId");
|
||||
|
||||
|
@ -293,13 +293,13 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany()
|
||||
.HasForeignKey("CharacterId");
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId");
|
||||
|
||||
|
@ -308,9 +308,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
@ -318,17 +318,17 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -28,7 +28,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -61,7 +61,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -119,7 +119,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -143,7 +143,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guilds");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -170,7 +170,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -222,14 +222,14 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Restrict);
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Restrict);
|
||||
|
@ -305,14 +305,14 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany()
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Restrict);
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
@ -322,9 +322,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
@ -332,17 +332,17 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -28,7 +28,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -66,7 +66,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -124,7 +124,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -148,7 +148,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guilds");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -175,7 +175,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -227,9 +227,9 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.GuildMember", "GuildMember")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.GuildMember", "GuildMember")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildMemberId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
@ -237,14 +237,14 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany()
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Restrict);
|
||||
|
@ -320,14 +320,14 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany()
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Restrict);
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
@ -337,9 +337,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
@ -347,17 +347,17 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -28,7 +28,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -61,7 +61,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -114,7 +114,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -138,7 +138,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guilds");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -166,7 +166,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -218,9 +218,9 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -295,15 +295,15 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithOne("GuildMember")
|
||||
.HasForeignKey("Server.DB.Documents.GuildMember", "CharacterId")
|
||||
.HasForeignKey("Continuity.AuthServer.DB.Documents.GuildMember", "CharacterId")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -314,9 +314,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -325,19 +325,19 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("GuildMember");
|
||||
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -25,7 +25,7 @@ namespace Server.DB.Migrations
|
|||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -58,7 +58,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Accounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -111,7 +111,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -135,7 +135,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("Guilds");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -163,7 +163,7 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("GuildMember");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
@ -215,9 +215,9 @@ namespace Server.DB.Migrations
|
|||
b.ToTable("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Account", "Account")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Account", "Account")
|
||||
.WithMany("Characters")
|
||||
.HasForeignKey("AccountId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -292,15 +292,15 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("JobData");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.GuildMember", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.GuildMember", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithOne("GuildMember")
|
||||
.HasForeignKey("Server.DB.Documents.GuildMember", "CharacterId")
|
||||
.HasForeignKey("Continuity.AuthServer.DB.Documents.GuildMember", "CharacterId")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Server.DB.Documents.Guild", "Guild")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Guild", "Guild")
|
||||
.WithMany("GuildMembers")
|
||||
.HasForeignKey("GuildId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -311,9 +311,9 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Guild");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.InventoryItem", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.InventoryItem", b =>
|
||||
{
|
||||
b.HasOne("Server.DB.Documents.Character", "Character")
|
||||
b.HasOne("Continuity.AuthServer.DB.Documents.Character", "Character")
|
||||
.WithMany("InventoryItems")
|
||||
.HasForeignKey("CharacterId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
|
@ -322,19 +322,19 @@ namespace Server.DB.Migrations
|
|||
b.Navigation("Character");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Account", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Account", b =>
|
||||
{
|
||||
b.Navigation("Characters");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Character", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Character", b =>
|
||||
{
|
||||
b.Navigation("GuildMember");
|
||||
|
||||
b.Navigation("InventoryItems");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Server.DB.Documents.Guild", b =>
|
||||
modelBuilder.Entity("Continuity.AuthServer.DB.Documents.Guild", b =>
|
||||
{
|
||||
b.Navigation("GuildMembers");
|
||||
});
|
|
@ -10,12 +10,12 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|||
RUN echo "Target: $TARGETARCH" && echo "Build: $BUILDPLATFORM"
|
||||
WORKDIR /src
|
||||
COPY ["Wonderking/Wonderking.csproj", "Wonderking/"]
|
||||
COPY ["Server/Server.csproj", "Server/"]
|
||||
COPY ["Continuity.AuthServer/Continuity.AuthServer.csproj", "Continuity.AuthServer/"]
|
||||
RUN dotnet restore "Wonderking/Wonderking.csproj" -a $TARGETARCH && dotnet restore "Server/Server.csproj" -a $TARGETARCH
|
||||
COPY . .
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "Server/Server.csproj" -c Release -a $TARGETARCH --no-restore -f net8.0 -o /app
|
||||
RUN dotnet publish "Continuity.AuthServer/Continuity.AuthServer.csproj" -c Release -a $TARGETARCH --no-restore -f net8.0 -o /app
|
||||
COPY ../config /app/config
|
||||
|
||||
FROM base AS final
|
|
@ -33,8 +33,8 @@ builder.Configuration.AddJsonFile("settings.json", true, true)
|
|||
builder.Services.AddLogging();
|
||||
var loggerFactory = LoggerFactory.Create(loggingBuilder =>
|
||||
{
|
||||
loggingBuilder.AddFile("logs/Server-{Date}.log", LogLevel.Trace);
|
||||
loggingBuilder.AddFile("logs/Server-{Date}.json.log", LogLevel.Trace, isJson: true);
|
||||
loggingBuilder.AddFile("logs/Continuity.AuthServer-{Date}.log", LogLevel.Trace);
|
||||
loggingBuilder.AddFile("logs/Continuity.AuthServer-{Date}.json.log", LogLevel.Trace, isJson: true);
|
||||
loggingBuilder.AddConsole();
|
||||
});
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csproj", "{7EDA8B31-3E03-4CA3-87D1-CFEB05C277D6}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Continuity.AuthServer", "Continuity.AuthServer\Continuity.AuthServer.csproj", "{7EDA8B31-3E03-4CA3-87D1-CFEB05C277D6}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Benchmarks", "Benchmarks\Benchmarks.csproj", "{7D560FA1-A61C-4B67-8300-835CA5814621}"
|
||||
EndProject
|
||||
|
|
Loading…
Reference in a new issue