chore: rename project, containing models
This commit is contained in:
parent
3dc782d76a
commit
bb01821b3d
@ -2,7 +2,7 @@
|
|||||||
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", "{7329EAAE-16BE-4A9C-8F8A-AF1913813129}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csproj", "{7329EAAE-16BE-4A9C-8F8A-AF1913813129}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatabaseModels", "DatabaseModels\DatabaseModels.csproj", "{1F02ACB1-88BD-4A1F-A481-CB8B9714711B}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharedModels", "SharedModels\SharedModels.csproj", "{1F02ACB1-88BD-4A1F-A481-CB8B9714711B}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
@ -19,7 +19,7 @@ namespace Server.Migrations
|
|||||||
#pragma warning disable 612, 618
|
#pragma warning disable 612, 618
|
||||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.ScoreboardRecord", b =>
|
modelBuilder.Entity("SharedModels.ScoreboardRecord", b =>
|
||||||
{
|
{
|
||||||
b.Property<string>("Username")
|
b.Property<string>("Username")
|
||||||
.HasColumnType("TEXT");
|
.HasColumnType("TEXT");
|
||||||
|
@ -19,7 +19,7 @@ namespace Server.Migrations
|
|||||||
#pragma warning disable 612, 618
|
#pragma warning disable 612, 618
|
||||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.ScoreboardRecord", b =>
|
modelBuilder.Entity("SharedModels.ScoreboardRecord", b =>
|
||||||
{
|
{
|
||||||
b.Property<string>("Username")
|
b.Property<string>("Username")
|
||||||
.HasColumnType("TEXT");
|
.HasColumnType("TEXT");
|
||||||
|
10
Server/Migrations/20220716101730_User.Designer.cs
generated
10
Server/Migrations/20220716101730_User.Designer.cs
generated
@ -19,7 +19,7 @@ namespace Server.Migrations
|
|||||||
#pragma warning disable 612, 618
|
#pragma warning disable 612, 618
|
||||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||||
{
|
{
|
||||||
b.Property<int>("Id")
|
b.Property<int>("Id")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
@ -41,7 +41,7 @@ namespace Server.Migrations
|
|||||||
b.ToTable("Scoreboard");
|
b.ToTable("Scoreboard");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||||
{
|
{
|
||||||
b.Property<int>("Id")
|
b.Property<int>("Id")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
@ -64,9 +64,9 @@ namespace Server.Migrations
|
|||||||
b.ToTable("Users");
|
b.ToTable("Users");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||||
{
|
{
|
||||||
b.HasOne("DatabaseModels.Plain.User", "User")
|
b.HasOne("SharedModels.Plain.User", "User")
|
||||||
.WithMany("ScoreboardRecords")
|
.WithMany("ScoreboardRecords")
|
||||||
.HasForeignKey("UserId")
|
.HasForeignKey("UserId")
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
.OnDelete(DeleteBehavior.Cascade)
|
||||||
@ -75,7 +75,7 @@ namespace Server.Migrations
|
|||||||
b.Navigation("User");
|
b.Navigation("User");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||||
{
|
{
|
||||||
b.Navigation("ScoreboardRecords");
|
b.Navigation("ScoreboardRecords");
|
||||||
});
|
});
|
||||||
|
@ -19,7 +19,7 @@ namespace Server.Migrations
|
|||||||
#pragma warning disable 612, 618
|
#pragma warning disable 612, 618
|
||||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||||
{
|
{
|
||||||
b.Property<int>("Id")
|
b.Property<int>("Id")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
@ -41,7 +41,7 @@ namespace Server.Migrations
|
|||||||
b.ToTable("Scoreboard");
|
b.ToTable("Scoreboard");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||||
{
|
{
|
||||||
b.Property<int>("Id")
|
b.Property<int>("Id")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
@ -68,9 +68,9 @@ namespace Server.Migrations
|
|||||||
b.ToTable("Users");
|
b.ToTable("Users");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||||
{
|
{
|
||||||
b.HasOne("DatabaseModels.Plain.User", "User")
|
b.HasOne("SharedModels.Plain.User", "User")
|
||||||
.WithMany("ScoreboardRecords")
|
.WithMany("ScoreboardRecords")
|
||||||
.HasForeignKey("UserId")
|
.HasForeignKey("UserId")
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
.OnDelete(DeleteBehavior.Cascade)
|
||||||
@ -79,7 +79,7 @@ namespace Server.Migrations
|
|||||||
b.Navigation("User");
|
b.Navigation("User");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||||
{
|
{
|
||||||
b.Navigation("ScoreboardRecords");
|
b.Navigation("ScoreboardRecords");
|
||||||
});
|
});
|
||||||
|
@ -17,7 +17,7 @@ namespace Server.Migrations
|
|||||||
#pragma warning disable 612, 618
|
#pragma warning disable 612, 618
|
||||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||||
{
|
{
|
||||||
b.Property<int>("Id")
|
b.Property<int>("Id")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
@ -39,7 +39,7 @@ namespace Server.Migrations
|
|||||||
b.ToTable("Scoreboard");
|
b.ToTable("Scoreboard");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||||
{
|
{
|
||||||
b.Property<int>("Id")
|
b.Property<int>("Id")
|
||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
@ -66,9 +66,9 @@ namespace Server.Migrations
|
|||||||
b.ToTable("Users");
|
b.ToTable("Users");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||||
{
|
{
|
||||||
b.HasOne("DatabaseModels.Plain.User", "User")
|
b.HasOne("SharedModels.Plain.User", "User")
|
||||||
.WithMany("ScoreboardRecords")
|
.WithMany("ScoreboardRecords")
|
||||||
.HasForeignKey("UserId")
|
.HasForeignKey("UserId")
|
||||||
.OnDelete(DeleteBehavior.Cascade)
|
.OnDelete(DeleteBehavior.Cascade)
|
||||||
@ -77,7 +77,7 @@ namespace Server.Migrations
|
|||||||
b.Navigation("User");
|
b.Navigation("User");
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||||
{
|
{
|
||||||
b.Navigation("ScoreboardRecords");
|
b.Navigation("ScoreboardRecords");
|
||||||
});
|
});
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\DatabaseModels\DatabaseModels.csproj" />
|
<ProjectReference Include="..\SharedModels\SharedModels.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<RootNamespace>DatabaseModels</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in New Issue
Block a user