Skip to content

Commit ed8d2af

Browse files
committed
index sayplace
1 parent ade664b commit ed8d2af

5 files changed

Lines changed: 181 additions & 0 deletions

ZkData/Ef/LobbyChatHistory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class LobbyChatHistory
1111
public int LobbyChatHistoryID { get; set; }
1212
public bool Ring { get; set; }
1313

14+
[Index]
1415
public SayPlace SayPlace { get; set; }
1516

1617
[MaxLength(255)]

ZkData/Migrations/202005171620366_indexLobbyChatHistorySayPlace.Designer.cs

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
namespace ZkData.Migrations
2+
{
3+
using System;
4+
using System.Data.Entity.Migrations;
5+
6+
public partial class indexLobbyChatHistorySayPlace : DbMigration
7+
{
8+
public override void Up()
9+
{
10+
CreateIndex("dbo.LobbyChatHistories", "SayPlace");
11+
}
12+
13+
public override void Down()
14+
{
15+
DropIndex("dbo.LobbyChatHistories", new[] { "SayPlace" });
16+
}
17+
}
18+
}

ZkData/Migrations/202005171620366_indexLobbyChatHistorySayPlace.resx

Lines changed: 126 additions & 0 deletions
Large diffs are not rendered by default.

ZkData/ZkData.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,10 @@
446446
<Compile Include="Migrations\202005171432012_AddAccountLastChatRead.Designer.cs">
447447
<DependentUpon>202005171432012_AddAccountLastChatRead.cs</DependentUpon>
448448
</Compile>
449+
<Compile Include="Migrations\202005171620366_indexLobbyChatHistorySayPlace.cs" />
450+
<Compile Include="Migrations\202005171620366_indexLobbyChatHistorySayPlace.Designer.cs">
451+
<DependentUpon>202005171620366_indexLobbyChatHistorySayPlace.cs</DependentUpon>
452+
</Compile>
449453
<Compile Include="SpringFilesUnitsyncAttempt.cs" />
450454
<Compile Include="SteamWebApi.cs" />
451455
<Compile Include="UserLanguageNoteAttribute.cs" />
@@ -846,6 +850,9 @@
846850
<EmbeddedResource Include="Migrations\202005171432012_AddAccountLastChatRead.resx">
847851
<DependentUpon>202005171432012_AddAccountLastChatRead.cs</DependentUpon>
848852
</EmbeddedResource>
853+
<EmbeddedResource Include="Migrations\202005171620366_indexLobbyChatHistorySayPlace.resx">
854+
<DependentUpon>202005171620366_indexLobbyChatHistorySayPlace.cs</DependentUpon>
855+
</EmbeddedResource>
849856
<EmbeddedResource Include="ZkDataResources.resx">
850857
<Generator>ResXFileCodeGenerator</Generator>
851858
<LastGenOutput>ZkDataResources.Designer.cs</LastGenOutput>

0 commit comments

Comments
 (0)