mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2332
This commit is contained in:
parent
2c0d2888fd
commit
66e257f4b7
3 changed files with 84261 additions and 1 deletions
84228
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210424221556_2332.Designer.cs
generated
Normal file
84228
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210424221556_2332.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,23 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2332 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterLists",
|
||||
columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" },
|
||||
values: new object[] { 2474, null, "A list specifically for OISD", null, null, null, "https://github.com/beerisgood/beer_blocklist", "https://github.com/beerisgood/beer_blocklist/issues", 5, "beer_blocklist", null, null, null });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterLists",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2474);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63)
|
||||
.HasAnnotation("ProductVersion", "5.0.4")
|
||||
.HasAnnotation("ProductVersion", "5.0.5")
|
||||
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Dependent", b =>
|
||||
|
|
@ -19369,6 +19369,15 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
IssuesUrl = "https://gitlab.com/curben/phishing-filter/issues",
|
||||
LicenseId = 8,
|
||||
Name = "phishing-filter (RPZ)"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2474,
|
||||
Description = "A list specifically for OISD",
|
||||
HomeUrl = "https://github.com/beerisgood/beer_blocklist",
|
||||
IssuesUrl = "https://github.com/beerisgood/beer_blocklist/issues",
|
||||
LicenseId = 5,
|
||||
Name = "beer_blocklist"
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue