mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
chore: migrate #4985
This commit is contained in:
parent
fd0fab358a
commit
1eb7c1bd31
3 changed files with 88112 additions and 33 deletions
88045
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20250726191651_4985.Designer.cs
generated
Normal file
88045
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20250726191651_4985.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,67 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _4985 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "SoftwareSyntax",
|
||||
keyColumns: new[] { "SoftwareId", "SyntaxId" },
|
||||
keyValues: new object[] { (short)27, (short)1 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "SoftwareSyntax",
|
||||
keyColumns: new[] { "SoftwareId", "SyntaxId" },
|
||||
keyValues: new object[] { (short)27, (short)2 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "SoftwareSyntax",
|
||||
keyColumns: new[] { "SoftwareId", "SyntaxId" },
|
||||
keyValues: new object[] { (short)27, (short)36 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "SoftwareSyntax",
|
||||
keyColumns: new[] { "SoftwareId", "SyntaxId" },
|
||||
keyValues: new object[] { (short)27, (short)48 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "SoftwareSyntax",
|
||||
keyColumns: new[] { "SoftwareId", "SyntaxId" },
|
||||
keyValues: new object[] { (short)27, (short)54 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Software",
|
||||
keyColumn: "Id",
|
||||
keyValue: (short)27);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "Software",
|
||||
columns: new[] { "Id", "Description", "DownloadUrl", "HomeUrl", "Name" },
|
||||
values: new object[] { (short)27, null, "https://github.com/henrypp/hostsmgr/releases", "https://www.henrypp.org/product/hostsmgr", "hostsmgr" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "SoftwareSyntax",
|
||||
columns: new[] { "SoftwareId", "SyntaxId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ (short)27, (short)1 },
|
||||
{ (short)27, (short)2 },
|
||||
{ (short)27, (short)36 },
|
||||
{ (short)27, (short)48 },
|
||||
{ (short)27, (short)54 }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -63573,14 +63573,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
SupportsAbpUrlScheme = false
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = (short)27,
|
||||
DownloadUrl = "https://github.com/henrypp/hostsmgr/releases",
|
||||
HomeUrl = "https://www.henrypp.org/product/hostsmgr",
|
||||
Name = "hostsmgr",
|
||||
SupportsAbpUrlScheme = false
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = (short)28,
|
||||
DownloadUrl = "https://zenz-solutions.de/personaldnsfilter/",
|
||||
|
|
@ -64249,31 +64241,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
SyntaxId = (short)50
|
||||
},
|
||||
new
|
||||
{
|
||||
SoftwareId = (short)27,
|
||||
SyntaxId = (short)1
|
||||
},
|
||||
new
|
||||
{
|
||||
SoftwareId = (short)27,
|
||||
SyntaxId = (short)2
|
||||
},
|
||||
new
|
||||
{
|
||||
SoftwareId = (short)27,
|
||||
SyntaxId = (short)36
|
||||
},
|
||||
new
|
||||
{
|
||||
SoftwareId = (short)27,
|
||||
SyntaxId = (short)48
|
||||
},
|
||||
new
|
||||
{
|
||||
SoftwareId = (short)27,
|
||||
SyntaxId = (short)54
|
||||
},
|
||||
new
|
||||
{
|
||||
SoftwareId = (short)28,
|
||||
SyntaxId = (short)1
|
||||
|
|
|
|||
Loading…
Reference in a new issue