feat(dal): IRedisCacheService
This commit is contained in:
2756
PARR.DAL/Migrations/20231130020915_TblHostsAddIndexes.Designer.cs
generated
Normal file
2756
PARR.DAL/Migrations/20231130020915_TblHostsAddIndexes.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
27
PARR.DAL/Migrations/20231130020915_TblHostsAddIndexes.cs
Normal file
27
PARR.DAL/Migrations/20231130020915_TblHostsAddIndexes.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class TblHostsAddIndexes : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Hosts_Ek_IP",
|
||||
table: "Hosts",
|
||||
columns: new[] { "Ek", "IP" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_Hosts_Ek_IP",
|
||||
table: "Hosts");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1636,6 +1636,8 @@ namespace PARR.DAL.Migrations
|
||||
|
||||
b.HasIndex("ResponseAreaCode");
|
||||
|
||||
b.HasIndex("Ek", "IP");
|
||||
|
||||
b.ToTable("Hosts");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user