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
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csproj", "{7329EAAE-16BE-4A9C-8F8A-AF1913813129}"
|
||||
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
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
@ -19,7 +19,7 @@ namespace Server.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.ScoreboardRecord", b =>
|
||||
modelBuilder.Entity("SharedModels.ScoreboardRecord", b =>
|
||||
{
|
||||
b.Property<string>("Username")
|
||||
.HasColumnType("TEXT");
|
||||
|
@ -19,7 +19,7 @@ namespace Server.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.ScoreboardRecord", b =>
|
||||
modelBuilder.Entity("SharedModels.ScoreboardRecord", b =>
|
||||
{
|
||||
b.Property<string>("Username")
|
||||
.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
|
||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -41,7 +41,7 @@ namespace Server.Migrations
|
||||
b.ToTable("Scoreboard");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -64,9 +64,9 @@ namespace Server.Migrations
|
||||
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")
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -75,7 +75,7 @@ namespace Server.Migrations
|
||||
b.Navigation("User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||
{
|
||||
b.Navigation("ScoreboardRecords");
|
||||
});
|
||||
|
@ -19,7 +19,7 @@ namespace Server.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -41,7 +41,7 @@ namespace Server.Migrations
|
||||
b.ToTable("Scoreboard");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -68,9 +68,9 @@ namespace Server.Migrations
|
||||
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")
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -79,7 +79,7 @@ namespace Server.Migrations
|
||||
b.Navigation("User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||
{
|
||||
b.Navigation("ScoreboardRecords");
|
||||
});
|
||||
|
@ -17,7 +17,7 @@ namespace Server.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "6.0.6");
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.ScoreboardRecord", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.ScoreboardRecord", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -39,7 +39,7 @@ namespace Server.Migrations
|
||||
b.ToTable("Scoreboard");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -66,9 +66,9 @@ namespace Server.Migrations
|
||||
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")
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
@ -77,7 +77,7 @@ namespace Server.Migrations
|
||||
b.Navigation("User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DatabaseModels.Plain.User", b =>
|
||||
modelBuilder.Entity("SharedModels.Plain.User", b =>
|
||||
{
|
||||
b.Navigation("ScoreboardRecords");
|
||||
});
|
||||
|
@ -25,7 +25,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DatabaseModels\DatabaseModels.csproj" />
|
||||
<ProjectReference Include="..\SharedModels\SharedModels.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -4,6 +4,7 @@
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>DatabaseModels</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user