mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2893
This commit is contained in:
parent
670bfec8ed
commit
b7a63b1a96
3 changed files with 88207 additions and 7 deletions
88101
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220414134451_2893.Designer.cs
generated
Normal file
88101
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220414134451_2893.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,99 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2893 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2679L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2732L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/BPower0036/EasyDutch/-/raw/gh-pages/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2798L },
|
||||
column: "url",
|
||||
value: "https://combinatronics.io/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2799L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2800L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gl/BPower0036/EasyDutch/-/raw/gh-pages/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2801L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutch/@gh-pages/EasyDutch.txt");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2679L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2732L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/BPower0036/EasyDutch/-/raw/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2798L },
|
||||
column: "url",
|
||||
value: "https://combinatronics.io/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2799L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2800L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gl/BPower0036/EasyDutch/-/raw/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2801L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutch/@main/EasyDutch.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "6.0.3")
|
||||
.HasAnnotation("ProductVersion", "6.0.4")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "aggregate_type", new[] { "filter_list", "language", "license", "maintainer", "software", "syntax", "tag" });
|
||||
|
|
@ -86557,7 +86557,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2679L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt"
|
||||
Url = "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86973,7 +86973,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2732L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://gitlab.com/BPower0036/EasyDutch/-/raw/main/EasyDutch.txt"
|
||||
Url = "https://gitlab.com/BPower0036/EasyDutch/-/raw/gh-pages/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -87501,7 +87501,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2798L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt"
|
||||
Url = "https://combinatronics.io/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -87509,7 +87509,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2799L,
|
||||
Primariness = (short)4,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt"
|
||||
Url = "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -87517,7 +87517,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2800L,
|
||||
Primariness = (short)5,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gl/BPower0036/EasyDutch/-/raw/main/EasyDutch.txt"
|
||||
Url = "https://cdn.statically.io/gl/BPower0036/EasyDutch/-/raw/gh-pages/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -87525,7 +87525,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2801L,
|
||||
Primariness = (short)6,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutch/@main/EasyDutch.txt"
|
||||
Url = "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutch/@gh-pages/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue