mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #3284
This commit is contained in:
parent
8c86704712
commit
7ccfeda251
3 changed files with 89605 additions and 4 deletions
89544
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20221001141551_3284.Designer.cs
generated
Normal file
89544
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20221001141551_3284.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,57 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3284 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2559L, 2782L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/huzunluartemis/TurkishAdblockList/-/raw/main/src/HostsList.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2560L, 2783L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/huzunluartemis/TurkishAdblockList/-/raw/main/src/ElementalList.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2561L, 2784L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/huzunluartemis/TurkishAdblockList/-/raw/main/src/BadIpList.txt");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2559L, 2782L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/huzunluartemis/TurkishAdblockList/main/src/HostsList.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2560L, 2783L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/huzunluartemis/TurkishAdblockList/main/src/ElementalList.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2561L, 2784L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/huzunluartemis/TurkishAdblockList/main/src/BadIpList.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "6.0.8")
|
||||
.HasAnnotation("ProductVersion", "6.0.9")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "aggregate_type", new[] { "filter_list", "language", "license", "maintainer", "software", "syntax", "tag" });
|
||||
|
|
@ -88528,7 +88528,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2782L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/huzunluartemis/TurkishAdblockList/main/src/HostsList.txt"
|
||||
Url = "https://gitlab.com/huzunluartemis/TurkishAdblockList/-/raw/main/src/HostsList.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -88536,7 +88536,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2783L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/huzunluartemis/TurkishAdblockList/main/src/ElementalList.txt"
|
||||
Url = "https://gitlab.com/huzunluartemis/TurkishAdblockList/-/raw/main/src/ElementalList.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -88544,7 +88544,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2784L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/huzunluartemis/TurkishAdblockList/main/src/BadIpList.txt"
|
||||
Url = "https://gitlab.com/huzunluartemis/TurkishAdblockList/-/raw/main/src/BadIpList.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue