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