mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(db): 🔥 purge migrations
This commit is contained in:
parent
a17e9a38af
commit
c3e3db24ad
133 changed files with 0 additions and 5982191 deletions
|
|
@ -1,941 +0,0 @@
|
|||
// <auto-generated />
|
||||
using System;
|
||||
using System.Text.Json;
|
||||
using FilterLists.Directory.Domain.Aggregates;
|
||||
using FilterLists.Directory.Infrastructure.Persistence.Queries.Context;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(QueryDbContext))]
|
||||
[Migration("20211205175314_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "6.0.0")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "aggregate_type", new[] { "filter_list", "language", "license", "maintainer", "software", "syntax", "tag" });
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.HasSequence("EntityFrameworkHiLoSequence-FilterListViewUrl")
|
||||
.StartsAt(3000L)
|
||||
.IncrementsBy(3);
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Change", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<JsonDocument>("After")
|
||||
.HasColumnType("jsonb")
|
||||
.HasColumnName("after");
|
||||
|
||||
b.Property<AggregateType>("AggregateType")
|
||||
.HasColumnType("aggregate_type")
|
||||
.HasColumnName("aggregate_type");
|
||||
|
||||
b.Property<DateTime?>("ApprovedAt")
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasColumnName("approved_at");
|
||||
|
||||
b.Property<JsonDocument>("Before")
|
||||
.HasColumnType("jsonb")
|
||||
.HasColumnName("before");
|
||||
|
||||
b.Property<long?>("FilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("filter_list_id");
|
||||
|
||||
b.Property<long?>("LanguageId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("language_id");
|
||||
|
||||
b.Property<long?>("LicenseId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("license_id");
|
||||
|
||||
b.Property<long?>("MaintainerId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("maintainer_id");
|
||||
|
||||
b.Property<string>("Reason")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("reason");
|
||||
|
||||
b.Property<DateTime?>("RejectedAt")
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasColumnName("rejected_at");
|
||||
|
||||
b.Property<string>("RejectedReason")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("rejected_reason");
|
||||
|
||||
b.Property<long?>("SoftwareId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("software_id");
|
||||
|
||||
b.Property<DateTime>("SubmittedAt")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasColumnName("submitted_at")
|
||||
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||||
|
||||
b.Property<long?>("SyntaxId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("syntax_id");
|
||||
|
||||
b.Property<long?>("TagId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("tag_id");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("pk_changes");
|
||||
|
||||
b.HasIndex("FilterListId")
|
||||
.HasDatabaseName("ix_changes_filter_list_id");
|
||||
|
||||
b.HasIndex("LanguageId")
|
||||
.HasDatabaseName("ix_changes_language_id");
|
||||
|
||||
b.HasIndex("LicenseId")
|
||||
.HasDatabaseName("ix_changes_license_id");
|
||||
|
||||
b.HasIndex("MaintainerId")
|
||||
.HasDatabaseName("ix_changes_maintainer_id");
|
||||
|
||||
b.HasIndex("SoftwareId")
|
||||
.HasDatabaseName("ix_changes_software_id");
|
||||
|
||||
b.HasIndex("SyntaxId")
|
||||
.HasDatabaseName("ix_changes_syntax_id");
|
||||
|
||||
b.HasIndex("TagId")
|
||||
.HasDatabaseName("ix_changes_tag_id");
|
||||
|
||||
b.ToTable("changes", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Dependent", b =>
|
||||
{
|
||||
b.Property<long>("DependencyFilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("dependency_filter_list_id");
|
||||
|
||||
b.Property<long>("DependentFilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("dependent_filter_list_id");
|
||||
|
||||
b.HasKey("DependencyFilterListId", "DependentFilterListId")
|
||||
.HasName("pk_dependents");
|
||||
|
||||
b.HasIndex("DependentFilterListId")
|
||||
.HasDatabaseName("ix_dependents_dependent_filter_list_id");
|
||||
|
||||
b.ToTable("dependents", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<string>("ChatUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("chat_url");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("description");
|
||||
|
||||
b.Property<string>("DonateUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("donate_url");
|
||||
|
||||
b.Property<string>("EmailAddress")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("email_address");
|
||||
|
||||
b.Property<string>("ForumUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("forum_url");
|
||||
|
||||
b.Property<string>("HomeUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("home_url");
|
||||
|
||||
b.Property<bool>("IsApproved")
|
||||
.HasColumnType("boolean")
|
||||
.HasColumnName("is_approved");
|
||||
|
||||
b.Property<string>("IssuesUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("issues_url");
|
||||
|
||||
b.Property<long>("LicenseId")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasDefaultValue(5L)
|
||||
.HasColumnName("license_id");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("name");
|
||||
|
||||
b.Property<string>("OnionUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("onion_url");
|
||||
|
||||
b.Property<string>("PolicyUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("policy_url");
|
||||
|
||||
b.Property<string>("SubmissionUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("submission_url");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("pk_filter_lists");
|
||||
|
||||
b.HasIndex("LicenseId")
|
||||
.HasDatabaseName("ix_filter_lists_license_id");
|
||||
|
||||
b.HasIndex("Name")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_filter_lists_name");
|
||||
|
||||
b.ToTable("filter_lists", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListLanguage", b =>
|
||||
{
|
||||
b.Property<long>("FilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("filter_list_id");
|
||||
|
||||
b.Property<long>("LanguageId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("language_id");
|
||||
|
||||
b.HasKey("FilterListId", "LanguageId")
|
||||
.HasName("pk_filter_list_languages");
|
||||
|
||||
b.HasIndex("LanguageId")
|
||||
.HasDatabaseName("ix_filter_list_languages_language_id");
|
||||
|
||||
b.ToTable("filter_list_languages", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListMaintainer", b =>
|
||||
{
|
||||
b.Property<long>("FilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("filter_list_id");
|
||||
|
||||
b.Property<long>("MaintainerId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("maintainer_id");
|
||||
|
||||
b.HasKey("FilterListId", "MaintainerId")
|
||||
.HasName("pk_filter_list_maintainers");
|
||||
|
||||
b.HasIndex("MaintainerId")
|
||||
.HasDatabaseName("ix_filter_list_maintainers_maintainer_id");
|
||||
|
||||
b.ToTable("filter_list_maintainers", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListSyntax", b =>
|
||||
{
|
||||
b.Property<long>("FilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("filter_list_id");
|
||||
|
||||
b.Property<long>("SyntaxId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("syntax_id");
|
||||
|
||||
b.HasKey("FilterListId", "SyntaxId")
|
||||
.HasName("pk_filter_list_syntaxes");
|
||||
|
||||
b.HasIndex("SyntaxId")
|
||||
.HasDatabaseName("ix_filter_list_syntaxes_syntax_id");
|
||||
|
||||
b.ToTable("filter_list_syntaxes", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListTag", b =>
|
||||
{
|
||||
b.Property<long>("FilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("filter_list_id");
|
||||
|
||||
b.Property<long>("TagId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("tag_id");
|
||||
|
||||
b.HasKey("FilterListId", "TagId")
|
||||
.HasName("pk_filter_list_tags");
|
||||
|
||||
b.HasIndex("TagId")
|
||||
.HasDatabaseName("ix_filter_list_tags_tag_id");
|
||||
|
||||
b.ToTable("filter_list_tags", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Fork", b =>
|
||||
{
|
||||
b.Property<long>("UpstreamFilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("upstream_filter_list_id");
|
||||
|
||||
b.Property<long>("ForkFilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("fork_filter_list_id");
|
||||
|
||||
b.HasKey("UpstreamFilterListId", "ForkFilterListId")
|
||||
.HasName("pk_forks");
|
||||
|
||||
b.HasIndex("ForkFilterListId")
|
||||
.HasDatabaseName("ix_forks_fork_filter_list_id");
|
||||
|
||||
b.ToTable("forks", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Language", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<bool>("IsApproved")
|
||||
.HasColumnType("boolean")
|
||||
.HasColumnName("is_approved");
|
||||
|
||||
b.Property<string>("Iso6391")
|
||||
.IsRequired()
|
||||
.HasMaxLength(2)
|
||||
.HasColumnType("character(2)")
|
||||
.HasColumnName("iso6391")
|
||||
.IsFixedLength();
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("name");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("pk_languages");
|
||||
|
||||
b.HasIndex("Iso6391")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_languages_iso6391");
|
||||
|
||||
b.HasIndex("Name")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_languages_name");
|
||||
|
||||
b.ToTable("languages", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.License", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<bool>("IsApproved")
|
||||
.HasColumnType("boolean")
|
||||
.HasColumnName("is_approved");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("name");
|
||||
|
||||
b.Property<bool>("PermitsCommercialUse")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("boolean")
|
||||
.HasDefaultValue(false)
|
||||
.HasColumnName("permits_commercial_use");
|
||||
|
||||
b.Property<bool>("PermitsDistribution")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("boolean")
|
||||
.HasDefaultValue(false)
|
||||
.HasColumnName("permits_distribution");
|
||||
|
||||
b.Property<bool>("PermitsModification")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("boolean")
|
||||
.HasDefaultValue(false)
|
||||
.HasColumnName("permits_modification");
|
||||
|
||||
b.Property<string>("Url")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("url");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("pk_licenses");
|
||||
|
||||
b.HasIndex("Name")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_licenses_name");
|
||||
|
||||
b.ToTable("licenses", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Maintainer", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<string>("EmailAddress")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("email_address");
|
||||
|
||||
b.Property<bool>("IsApproved")
|
||||
.HasColumnType("boolean")
|
||||
.HasColumnName("is_approved");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("name");
|
||||
|
||||
b.Property<string>("TwitterHandle")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("twitter_handle");
|
||||
|
||||
b.Property<string>("Url")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("url");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("pk_maintainers");
|
||||
|
||||
b.HasIndex("Name")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_maintainers_name");
|
||||
|
||||
b.ToTable("maintainers", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Merge", b =>
|
||||
{
|
||||
b.Property<long>("IncludedInFilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("included_in_filter_list_id");
|
||||
|
||||
b.Property<long>("IncludesFilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("includes_filter_list_id");
|
||||
|
||||
b.HasKey("IncludedInFilterListId", "IncludesFilterListId")
|
||||
.HasName("pk_merges");
|
||||
|
||||
b.HasIndex("IncludesFilterListId")
|
||||
.HasDatabaseName("ix_merges_includes_filter_list_id");
|
||||
|
||||
b.ToTable("merges", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Software", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("description");
|
||||
|
||||
b.Property<string>("DownloadUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("download_url");
|
||||
|
||||
b.Property<string>("HomeUrl")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("home_url");
|
||||
|
||||
b.Property<bool>("IsApproved")
|
||||
.HasColumnType("boolean")
|
||||
.HasColumnName("is_approved");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("name");
|
||||
|
||||
b.Property<bool>("SupportsAbpUrlScheme")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("boolean")
|
||||
.HasDefaultValue(false)
|
||||
.HasColumnName("supports_abp_url_scheme");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("pk_software");
|
||||
|
||||
b.HasIndex("Name")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_software_name");
|
||||
|
||||
b.ToTable("software", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.SoftwareSyntax", b =>
|
||||
{
|
||||
b.Property<long>("SoftwareId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("software_id");
|
||||
|
||||
b.Property<long>("SyntaxId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("syntax_id");
|
||||
|
||||
b.HasKey("SoftwareId", "SyntaxId")
|
||||
.HasName("pk_software_syntaxes");
|
||||
|
||||
b.HasIndex("SyntaxId")
|
||||
.HasDatabaseName("ix_software_syntaxes_syntax_id");
|
||||
|
||||
b.ToTable("software_syntaxes", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Syntax", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("description");
|
||||
|
||||
b.Property<bool>("IsApproved")
|
||||
.HasColumnType("boolean")
|
||||
.HasColumnName("is_approved");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("name");
|
||||
|
||||
b.Property<string>("Url")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("url");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("pk_syntaxes");
|
||||
|
||||
b.HasIndex("Name")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_syntaxes_name");
|
||||
|
||||
b.ToTable("syntaxes", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Tag", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id"));
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("description");
|
||||
|
||||
b.Property<bool>("IsApproved")
|
||||
.HasColumnType("boolean")
|
||||
.HasColumnName("is_approved");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("name");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("pk_tags");
|
||||
|
||||
b.HasIndex("Name")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_tags_name");
|
||||
|
||||
b.ToTable("tags", (string)null);
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Change", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", null)
|
||||
.WithMany("Changes")
|
||||
.HasForeignKey("FilterListId")
|
||||
.HasConstraintName("fk_changes_filter_lists_filter_list_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Language", null)
|
||||
.WithMany("Changes")
|
||||
.HasForeignKey("LanguageId")
|
||||
.HasConstraintName("fk_changes_languages_language_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.License", null)
|
||||
.WithMany("Changes")
|
||||
.HasForeignKey("LicenseId")
|
||||
.HasConstraintName("fk_changes_licenses_license_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Maintainer", null)
|
||||
.WithMany("Changes")
|
||||
.HasForeignKey("MaintainerId")
|
||||
.HasConstraintName("fk_changes_maintainers_maintainer_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Software", null)
|
||||
.WithMany("Changes")
|
||||
.HasForeignKey("SoftwareId")
|
||||
.HasConstraintName("fk_changes_software_software_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Syntax", null)
|
||||
.WithMany("Changes")
|
||||
.HasForeignKey("SyntaxId")
|
||||
.HasConstraintName("fk_changes_syntaxes_syntax_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Tag", null)
|
||||
.WithMany("Changes")
|
||||
.HasForeignKey("TagId")
|
||||
.HasConstraintName("fk_changes_tags_tag_id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Dependent", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "DependencyFilterList")
|
||||
.WithMany("DependentFilterLists")
|
||||
.HasForeignKey("DependencyFilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_dependents_filter_lists_dependency_filter_list_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "DependentFilterList")
|
||||
.WithMany("DependencyFilterLists")
|
||||
.HasForeignKey("DependentFilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_dependents_filter_lists_dependent_filter_list_id");
|
||||
|
||||
b.Navigation("DependencyFilterList");
|
||||
|
||||
b.Navigation("DependentFilterList");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.License", "License")
|
||||
.WithMany("FilterLists")
|
||||
.HasForeignKey("LicenseId")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_lists_licenses_license_id");
|
||||
|
||||
b.OwnsMany("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListViewUrl", "ViewUrls", b1 =>
|
||||
{
|
||||
b1.Property<long>("FilterListId")
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("filter_list_id");
|
||||
|
||||
b1.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint")
|
||||
.HasColumnName("id");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseHiLo(b1.Property<long>("Id"), "EntityFrameworkHiLoSequence-FilterListViewUrl");
|
||||
|
||||
b1.Property<short>("Primariness")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("smallint")
|
||||
.HasDefaultValue((short)1)
|
||||
.HasColumnName("primariness");
|
||||
|
||||
b1.Property<short>("SegmentNumber")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("smallint")
|
||||
.HasDefaultValue((short)1)
|
||||
.HasColumnName("segment_number");
|
||||
|
||||
b1.Property<string>("Url")
|
||||
.IsRequired()
|
||||
.HasColumnType("text")
|
||||
.HasColumnName("url");
|
||||
|
||||
b1.HasKey("FilterListId", "Id")
|
||||
.HasName("pk_filter_list_view_urls");
|
||||
|
||||
b1.HasIndex("FilterListId", "SegmentNumber", "Primariness")
|
||||
.IsUnique()
|
||||
.HasDatabaseName("ix_filter_list_view_urls_filter_list_id_segment_number_primari");
|
||||
|
||||
b1.ToTable("filter_list_view_urls", (string)null);
|
||||
|
||||
b1.WithOwner("FilterList")
|
||||
.HasForeignKey("FilterListId")
|
||||
.HasConstraintName("fk_filter_list_view_urls_filter_lists_filter_list_id");
|
||||
|
||||
b1.Navigation("FilterList");
|
||||
});
|
||||
|
||||
b.Navigation("License");
|
||||
|
||||
b.Navigation("ViewUrls");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListLanguage", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "FilterList")
|
||||
.WithMany("FilterListLanguages")
|
||||
.HasForeignKey("FilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_list_languages_filter_lists_filter_list_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Language", "Language")
|
||||
.WithMany("FilterListLanguages")
|
||||
.HasForeignKey("LanguageId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_list_languages_languages_language_id");
|
||||
|
||||
b.Navigation("FilterList");
|
||||
|
||||
b.Navigation("Language");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListMaintainer", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "FilterList")
|
||||
.WithMany("FilterListMaintainers")
|
||||
.HasForeignKey("FilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_list_maintainers_filter_lists_filter_list_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Maintainer", "Maintainer")
|
||||
.WithMany("FilterListMaintainers")
|
||||
.HasForeignKey("MaintainerId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_list_maintainers_maintainers_maintainer_id");
|
||||
|
||||
b.Navigation("FilterList");
|
||||
|
||||
b.Navigation("Maintainer");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListSyntax", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "FilterList")
|
||||
.WithMany("FilterListSyntaxes")
|
||||
.HasForeignKey("FilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_list_syntaxes_filter_lists_filter_list_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Syntax", "Syntax")
|
||||
.WithMany("FilterListSyntaxes")
|
||||
.HasForeignKey("SyntaxId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_list_syntaxes_syntaxes_syntax_id");
|
||||
|
||||
b.Navigation("FilterList");
|
||||
|
||||
b.Navigation("Syntax");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterListTag", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "FilterList")
|
||||
.WithMany("FilterListTags")
|
||||
.HasForeignKey("FilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_list_tags_filter_lists_filter_list_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Tag", "Tag")
|
||||
.WithMany("FilterListTags")
|
||||
.HasForeignKey("TagId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_filter_list_tags_tags_tag_id");
|
||||
|
||||
b.Navigation("FilterList");
|
||||
|
||||
b.Navigation("Tag");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Fork", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "ForkFilterList")
|
||||
.WithMany("UpstreamFilterLists")
|
||||
.HasForeignKey("ForkFilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_forks_filter_lists_fork_filter_list_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "UpstreamFilterList")
|
||||
.WithMany("ForkFilterLists")
|
||||
.HasForeignKey("UpstreamFilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_forks_filter_lists_upstream_filter_list_id");
|
||||
|
||||
b.Navigation("ForkFilterList");
|
||||
|
||||
b.Navigation("UpstreamFilterList");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Merge", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "IncludedInFilterList")
|
||||
.WithMany("IncludesFilterLists")
|
||||
.HasForeignKey("IncludedInFilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_merges_filter_lists_included_in_filter_list_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", "IncludesFilterList")
|
||||
.WithMany("IncludedInFilterLists")
|
||||
.HasForeignKey("IncludesFilterListId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_merges_filter_lists_includes_filter_list_id");
|
||||
|
||||
b.Navigation("IncludedInFilterList");
|
||||
|
||||
b.Navigation("IncludesFilterList");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.SoftwareSyntax", b =>
|
||||
{
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Software", "Software")
|
||||
.WithMany("SoftwareSyntaxes")
|
||||
.HasForeignKey("SoftwareId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_software_syntaxes_software_software_id");
|
||||
|
||||
b.HasOne("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Syntax", "Syntax")
|
||||
.WithMany("SoftwareSyntaxes")
|
||||
.HasForeignKey("SyntaxId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired()
|
||||
.HasConstraintName("fk_software_syntaxes_syntaxes_syntax_id");
|
||||
|
||||
b.Navigation("Software");
|
||||
|
||||
b.Navigation("Syntax");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.FilterList", b =>
|
||||
{
|
||||
b.Navigation("Changes");
|
||||
|
||||
b.Navigation("DependencyFilterLists");
|
||||
|
||||
b.Navigation("DependentFilterLists");
|
||||
|
||||
b.Navigation("FilterListLanguages");
|
||||
|
||||
b.Navigation("FilterListMaintainers");
|
||||
|
||||
b.Navigation("FilterListSyntaxes");
|
||||
|
||||
b.Navigation("FilterListTags");
|
||||
|
||||
b.Navigation("ForkFilterLists");
|
||||
|
||||
b.Navigation("IncludedInFilterLists");
|
||||
|
||||
b.Navigation("IncludesFilterLists");
|
||||
|
||||
b.Navigation("UpstreamFilterLists");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Language", b =>
|
||||
{
|
||||
b.Navigation("Changes");
|
||||
|
||||
b.Navigation("FilterListLanguages");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.License", b =>
|
||||
{
|
||||
b.Navigation("Changes");
|
||||
|
||||
b.Navigation("FilterLists");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Maintainer", b =>
|
||||
{
|
||||
b.Navigation("Changes");
|
||||
|
||||
b.Navigation("FilterListMaintainers");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Software", b =>
|
||||
{
|
||||
b.Navigation("Changes");
|
||||
|
||||
b.Navigation("SoftwareSyntaxes");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Syntax", b =>
|
||||
{
|
||||
b.Navigation("Changes");
|
||||
|
||||
b.Navigation("FilterListSyntaxes");
|
||||
|
||||
b.Navigation("SoftwareSyntaxes");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("FilterLists.Directory.Infrastructure.Persistence.Queries.Entities.Tag", b =>
|
||||
{
|
||||
b.Navigation("Changes");
|
||||
|
||||
b.Navigation("FilterListTags");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,620 +0,0 @@
|
|||
using System;
|
||||
using System.Text.Json;
|
||||
using FilterLists.Directory.Domain.Aggregates;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class Initial : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterDatabase()
|
||||
.Annotation("Npgsql:Enum:aggregate_type", "filter_list,language,license,maintainer,software,syntax,tag");
|
||||
|
||||
migrationBuilder.CreateSequence(
|
||||
name: "EntityFrameworkHiLoSequence-FilterListViewUrl",
|
||||
startValue: 3000L,
|
||||
incrementBy: 3);
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "languages",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
iso6391 = table.Column<string>(type: "character(2)", fixedLength: true, maxLength: 2, nullable: false),
|
||||
name = table.Column<string>(type: "text", nullable: false),
|
||||
is_approved = table.Column<bool>(type: "boolean", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_languages", x => x.id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "licenses",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
name = table.Column<string>(type: "text", nullable: false),
|
||||
url = table.Column<string>(type: "text", nullable: true),
|
||||
permits_modification = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
|
||||
permits_distribution = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
|
||||
permits_commercial_use = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
|
||||
is_approved = table.Column<bool>(type: "boolean", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_licenses", x => x.id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "maintainers",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
name = table.Column<string>(type: "text", nullable: false),
|
||||
url = table.Column<string>(type: "text", nullable: true),
|
||||
email_address = table.Column<string>(type: "text", nullable: true),
|
||||
twitter_handle = table.Column<string>(type: "text", nullable: true),
|
||||
is_approved = table.Column<bool>(type: "boolean", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_maintainers", x => x.id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "software",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
name = table.Column<string>(type: "text", nullable: false),
|
||||
description = table.Column<string>(type: "text", nullable: true),
|
||||
home_url = table.Column<string>(type: "text", nullable: true),
|
||||
download_url = table.Column<string>(type: "text", nullable: true),
|
||||
supports_abp_url_scheme = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
|
||||
is_approved = table.Column<bool>(type: "boolean", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_software", x => x.id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "syntaxes",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
name = table.Column<string>(type: "text", nullable: false),
|
||||
description = table.Column<string>(type: "text", nullable: true),
|
||||
url = table.Column<string>(type: "text", nullable: true),
|
||||
is_approved = table.Column<bool>(type: "boolean", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_syntaxes", x => x.id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "tags",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
name = table.Column<string>(type: "text", nullable: false),
|
||||
description = table.Column<string>(type: "text", nullable: true),
|
||||
is_approved = table.Column<bool>(type: "boolean", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_tags", x => x.id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "filter_lists",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
name = table.Column<string>(type: "text", nullable: false),
|
||||
description = table.Column<string>(type: "text", nullable: true),
|
||||
license_id = table.Column<long>(type: "bigint", nullable: false, defaultValue: 5L),
|
||||
home_url = table.Column<string>(type: "text", nullable: true),
|
||||
onion_url = table.Column<string>(type: "text", nullable: true),
|
||||
policy_url = table.Column<string>(type: "text", nullable: true),
|
||||
submission_url = table.Column<string>(type: "text", nullable: true),
|
||||
issues_url = table.Column<string>(type: "text", nullable: true),
|
||||
forum_url = table.Column<string>(type: "text", nullable: true),
|
||||
chat_url = table.Column<string>(type: "text", nullable: true),
|
||||
email_address = table.Column<string>(type: "text", nullable: true),
|
||||
donate_url = table.Column<string>(type: "text", nullable: true),
|
||||
is_approved = table.Column<bool>(type: "boolean", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_filter_lists", x => x.id);
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_lists_licenses_license_id",
|
||||
column: x => x.license_id,
|
||||
principalTable: "licenses",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "software_syntaxes",
|
||||
columns: table => new
|
||||
{
|
||||
software_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
syntax_id = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_software_syntaxes", x => new { x.software_id, x.syntax_id });
|
||||
table.ForeignKey(
|
||||
name: "fk_software_syntaxes_software_software_id",
|
||||
column: x => x.software_id,
|
||||
principalTable: "software",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "fk_software_syntaxes_syntaxes_syntax_id",
|
||||
column: x => x.syntax_id,
|
||||
principalTable: "syntaxes",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "changes",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false)
|
||||
.Annotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn),
|
||||
reason = table.Column<string>(type: "text", nullable: true),
|
||||
submitted_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: false, defaultValueSql: "CURRENT_TIMESTAMP"),
|
||||
approved_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
|
||||
rejected_at = table.Column<DateTime>(type: "timestamp with time zone", nullable: true),
|
||||
rejected_reason = table.Column<string>(type: "text", nullable: true),
|
||||
before = table.Column<JsonDocument>(type: "jsonb", nullable: true),
|
||||
after = table.Column<JsonDocument>(type: "jsonb", nullable: true),
|
||||
aggregate_type = table.Column<AggregateType>(type: "aggregate_type", nullable: false),
|
||||
filter_list_id = table.Column<long>(type: "bigint", nullable: true),
|
||||
language_id = table.Column<long>(type: "bigint", nullable: true),
|
||||
license_id = table.Column<long>(type: "bigint", nullable: true),
|
||||
maintainer_id = table.Column<long>(type: "bigint", nullable: true),
|
||||
software_id = table.Column<long>(type: "bigint", nullable: true),
|
||||
syntax_id = table.Column<long>(type: "bigint", nullable: true),
|
||||
tag_id = table.Column<long>(type: "bigint", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_changes", x => x.id);
|
||||
table.ForeignKey(
|
||||
name: "fk_changes_filter_lists_filter_list_id",
|
||||
column: x => x.filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id");
|
||||
table.ForeignKey(
|
||||
name: "fk_changes_languages_language_id",
|
||||
column: x => x.language_id,
|
||||
principalTable: "languages",
|
||||
principalColumn: "id");
|
||||
table.ForeignKey(
|
||||
name: "fk_changes_licenses_license_id",
|
||||
column: x => x.license_id,
|
||||
principalTable: "licenses",
|
||||
principalColumn: "id");
|
||||
table.ForeignKey(
|
||||
name: "fk_changes_maintainers_maintainer_id",
|
||||
column: x => x.maintainer_id,
|
||||
principalTable: "maintainers",
|
||||
principalColumn: "id");
|
||||
table.ForeignKey(
|
||||
name: "fk_changes_software_software_id",
|
||||
column: x => x.software_id,
|
||||
principalTable: "software",
|
||||
principalColumn: "id");
|
||||
table.ForeignKey(
|
||||
name: "fk_changes_syntaxes_syntax_id",
|
||||
column: x => x.syntax_id,
|
||||
principalTable: "syntaxes",
|
||||
principalColumn: "id");
|
||||
table.ForeignKey(
|
||||
name: "fk_changes_tags_tag_id",
|
||||
column: x => x.tag_id,
|
||||
principalTable: "tags",
|
||||
principalColumn: "id");
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "dependents",
|
||||
columns: table => new
|
||||
{
|
||||
dependency_filter_list_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
dependent_filter_list_id = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_dependents", x => new { x.dependency_filter_list_id, x.dependent_filter_list_id });
|
||||
table.ForeignKey(
|
||||
name: "fk_dependents_filter_lists_dependency_filter_list_id",
|
||||
column: x => x.dependency_filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "fk_dependents_filter_lists_dependent_filter_list_id",
|
||||
column: x => x.dependent_filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "filter_list_languages",
|
||||
columns: table => new
|
||||
{
|
||||
filter_list_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
language_id = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_filter_list_languages", x => new { x.filter_list_id, x.language_id });
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_languages_filter_lists_filter_list_id",
|
||||
column: x => x.filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_languages_languages_language_id",
|
||||
column: x => x.language_id,
|
||||
principalTable: "languages",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "filter_list_maintainers",
|
||||
columns: table => new
|
||||
{
|
||||
filter_list_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
maintainer_id = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_filter_list_maintainers", x => new { x.filter_list_id, x.maintainer_id });
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_maintainers_filter_lists_filter_list_id",
|
||||
column: x => x.filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_maintainers_maintainers_maintainer_id",
|
||||
column: x => x.maintainer_id,
|
||||
principalTable: "maintainers",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "filter_list_syntaxes",
|
||||
columns: table => new
|
||||
{
|
||||
filter_list_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
syntax_id = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_filter_list_syntaxes", x => new { x.filter_list_id, x.syntax_id });
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_syntaxes_filter_lists_filter_list_id",
|
||||
column: x => x.filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_syntaxes_syntaxes_syntax_id",
|
||||
column: x => x.syntax_id,
|
||||
principalTable: "syntaxes",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "filter_list_tags",
|
||||
columns: table => new
|
||||
{
|
||||
filter_list_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
tag_id = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_filter_list_tags", x => new { x.filter_list_id, x.tag_id });
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_tags_filter_lists_filter_list_id",
|
||||
column: x => x.filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_tags_tags_tag_id",
|
||||
column: x => x.tag_id,
|
||||
principalTable: "tags",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "filter_list_view_urls",
|
||||
columns: table => new
|
||||
{
|
||||
id = table.Column<long>(type: "bigint", nullable: false),
|
||||
filter_list_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
segment_number = table.Column<short>(type: "smallint", nullable: false, defaultValue: (short)1),
|
||||
primariness = table.Column<short>(type: "smallint", nullable: false, defaultValue: (short)1),
|
||||
url = table.Column<string>(type: "text", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_filter_list_view_urls", x => new { x.filter_list_id, x.id });
|
||||
table.ForeignKey(
|
||||
name: "fk_filter_list_view_urls_filter_lists_filter_list_id",
|
||||
column: x => x.filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "forks",
|
||||
columns: table => new
|
||||
{
|
||||
upstream_filter_list_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
fork_filter_list_id = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_forks", x => new { x.upstream_filter_list_id, x.fork_filter_list_id });
|
||||
table.ForeignKey(
|
||||
name: "fk_forks_filter_lists_fork_filter_list_id",
|
||||
column: x => x.fork_filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "fk_forks_filter_lists_upstream_filter_list_id",
|
||||
column: x => x.upstream_filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "merges",
|
||||
columns: table => new
|
||||
{
|
||||
included_in_filter_list_id = table.Column<long>(type: "bigint", nullable: false),
|
||||
includes_filter_list_id = table.Column<long>(type: "bigint", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("pk_merges", x => new { x.included_in_filter_list_id, x.includes_filter_list_id });
|
||||
table.ForeignKey(
|
||||
name: "fk_merges_filter_lists_included_in_filter_list_id",
|
||||
column: x => x.included_in_filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "fk_merges_filter_lists_includes_filter_list_id",
|
||||
column: x => x.includes_filter_list_id,
|
||||
principalTable: "filter_lists",
|
||||
principalColumn: "id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_changes_filter_list_id",
|
||||
table: "changes",
|
||||
column: "filter_list_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_changes_language_id",
|
||||
table: "changes",
|
||||
column: "language_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_changes_license_id",
|
||||
table: "changes",
|
||||
column: "license_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_changes_maintainer_id",
|
||||
table: "changes",
|
||||
column: "maintainer_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_changes_software_id",
|
||||
table: "changes",
|
||||
column: "software_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_changes_syntax_id",
|
||||
table: "changes",
|
||||
column: "syntax_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_changes_tag_id",
|
||||
table: "changes",
|
||||
column: "tag_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_dependents_dependent_filter_list_id",
|
||||
table: "dependents",
|
||||
column: "dependent_filter_list_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_filter_list_languages_language_id",
|
||||
table: "filter_list_languages",
|
||||
column: "language_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_filter_list_maintainers_maintainer_id",
|
||||
table: "filter_list_maintainers",
|
||||
column: "maintainer_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_filter_list_syntaxes_syntax_id",
|
||||
table: "filter_list_syntaxes",
|
||||
column: "syntax_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_filter_list_tags_tag_id",
|
||||
table: "filter_list_tags",
|
||||
column: "tag_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_filter_list_view_urls_filter_list_id_segment_number_primari",
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "segment_number", "primariness" },
|
||||
unique: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_filter_lists_license_id",
|
||||
table: "filter_lists",
|
||||
column: "license_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_filter_lists_name",
|
||||
table: "filter_lists",
|
||||
column: "name",
|
||||
unique: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_forks_fork_filter_list_id",
|
||||
table: "forks",
|
||||
column: "fork_filter_list_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_languages_iso6391",
|
||||
table: "languages",
|
||||
column: "iso6391",
|
||||
unique: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_languages_name",
|
||||
table: "languages",
|
||||
column: "name",
|
||||
unique: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_licenses_name",
|
||||
table: "licenses",
|
||||
column: "name",
|
||||
unique: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_maintainers_name",
|
||||
table: "maintainers",
|
||||
column: "name",
|
||||
unique: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_merges_includes_filter_list_id",
|
||||
table: "merges",
|
||||
column: "includes_filter_list_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_software_name",
|
||||
table: "software",
|
||||
column: "name",
|
||||
unique: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_software_syntaxes_syntax_id",
|
||||
table: "software_syntaxes",
|
||||
column: "syntax_id");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_syntaxes_name",
|
||||
table: "syntaxes",
|
||||
column: "name",
|
||||
unique: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "ix_tags_name",
|
||||
table: "tags",
|
||||
column: "name",
|
||||
unique: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "changes");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "dependents");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "filter_list_languages");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "filter_list_maintainers");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "filter_list_syntaxes");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "filter_list_tags");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "filter_list_view_urls");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "forks");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "merges");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "software_syntaxes");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "languages");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "maintainers");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "tags");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "filter_lists");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "software");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "syntaxes");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "licenses");
|
||||
|
||||
migrationBuilder.DropSequence(
|
||||
name: "EntityFrameworkHiLoSequence-FilterListViewUrl");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,34 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2709 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2519L, 2812L, (short)2, "https://www.combinatronics.com/JohnyP36/Personal-List/main/Personal List (uBo).txt" },
|
||||
{ 2519L, 2813L, (short)3, "https://cdn.statically.io/gh/JohnyP36/Personal-List/main/Personal List (uBo).txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2519L, 2812L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2519L, 2813L });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,261 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2730 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2080L, 37L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2083L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2086L, 37L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2090L, 37L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2080L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2083L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2086L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2090L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2080L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2083L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2086L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2090L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2080L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2083L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2086L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2090L, 31L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2080L, 2187L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2083L, 2190L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2086L, 2193L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2090L, 2197L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2080L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2083L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2086L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2090L);
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2095L, null, "Enhance anti-scam capability of 280blocker adblock filter by utilizing advanced capability of AdGuard/uBlock Origin.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 28L, "Anti-scam enhancer for 280blocker adblock filter", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[] { 2095L, 73L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2095L, 150L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2095L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2095L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2095L, 2202L, (short)1, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/280-patch.txt" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2095L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2095L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2095L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2095L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2095L, 2202L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2095L);
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2080L, null, "AdGuard Tracking Protection filter is probably the least false-positive prone anti-tracking list; however, it comes with its own cost of less coverage which this filter aims to complement.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "AdGuard Tracking Protection Plus", null, null, null },
|
||||
{ 2083L, null, "Removes ranking buttons on adult sites.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's Blog Parts Adult", null, null, null },
|
||||
{ 2086L, null, "WordPress plugins have been security nightmare and are usually implemented in first-party resource that bypasses medium mode. Although it's impossible to block thousands of these plugins without breaking too many sites, blocking those unwanted plugins won't be a bad idea. While popular social and annoyances filters block many of them, they come with tons of unnecessary rules[^1] and also occasionally cause false-positive. For these reasons I've settled down to AdGuard Social media filter which is relatively small in size and rarely breaks pages; however, it only blocks minimal set of the plugins. This list includes 1) rules for the plugins not on the Social media filter or other default filter lists, 2) rules almost equivalent to Noscript's Application Boundaries Enforcer, and 3) a regex rule focused only on the latest survey scam campaign.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's uBlock Static Rules", null, null, null },
|
||||
{ 2090L, null, "It's a mobile version of Placeholder Hider with no generic hiding.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Placeholder Hider with no generic hiding for mobile", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2080L, 37L },
|
||||
{ 2083L, 73L },
|
||||
{ 2086L, 37L },
|
||||
{ 2090L, 37L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2080L, 150L },
|
||||
{ 2083L, 150L },
|
||||
{ 2086L, 150L },
|
||||
{ 2090L, 150L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2080L, 3L },
|
||||
{ 2083L, 3L },
|
||||
{ 2086L, 4L },
|
||||
{ 2090L, 4L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2080L, 3L },
|
||||
{ 2083L, 15L },
|
||||
{ 2086L, 15L },
|
||||
{ 2090L, 31L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "segment_number", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2080L, 2187L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/adguard/tracking-plus.txt" },
|
||||
{ 2083L, 2190L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/blog-parts-adult.txt" },
|
||||
{ 2086L, 2193L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/medium_mode/static-rules.txt" },
|
||||
{ 2090L, 2197L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/no_gen_cosm/phhider-mob.txt" }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,166 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2756 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1603L, 1628L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1603L, 1629L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1880L, 1952L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1880L, 1953L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2165L, 2290L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2165L, 2291L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2167L, 2296L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2167L, 2297L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2169L, 2302L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2169L, 2303L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2171L, 2308L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2171L, 2309L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2323L, 2473L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2323L, 2474L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2324L, 2476L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2324L, 2477L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2325L, 2479L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2325L, 2480L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2326L, 2482L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2326L, 2483L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2327L, 2485L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2327L, 2486L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2328L, 2488L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2328L, 2489L });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "segment_number", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 1603L, 1628L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/urlhaus-filter/master/urlhaus-filter-online.txt" },
|
||||
{ 1603L, 1629L, (short)3, (short)0, "https://glcdn.githack.com/curben/urlhaus-filter/raw/master/urlhaus-filter-online.txt" },
|
||||
{ 1880L, 1952L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/urlhaus-filter/master/urlhaus-filter-domains-online.txt" },
|
||||
{ 1880L, 1953L, (short)3, (short)0, "https://glcdn.githack.com/curben/urlhaus-filter/raw/master/urlhaus-filter-domains-online.txt" },
|
||||
{ 2165L, 2290L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/urlhaus-filter/master/urlhaus-filter-dnsmasq-online.conf" },
|
||||
{ 2165L, 2291L, (short)3, (short)0, "https://glcdn.githack.com/curben/urlhaus-filter/raw/master/urlhaus-filter-dnsmasq-online.conf" },
|
||||
{ 2167L, 2296L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/urlhaus-filter/master/urlhaus-filter-hosts-online.txt" },
|
||||
{ 2167L, 2297L, (short)3, (short)0, "https://glcdn.githack.com/curben/urlhaus-filter/raw/master/urlhaus-filter-hosts-online.txt" },
|
||||
{ 2169L, 2302L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/urlhaus-filter/master/urlhaus-filter-bind-online.conf" },
|
||||
{ 2169L, 2303L, (short)3, (short)0, "https://glcdn.githack.com/curben/urlhaus-filter/raw/master/urlhaus-filter-bind-online.conf" },
|
||||
{ 2171L, 2308L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/urlhaus-filter/master/urlhaus-filter-unbound-online.conf" },
|
||||
{ 2171L, 2309L, (short)3, (short)0, "https://glcdn.githack.com/curben/urlhaus-filter/raw/master/urlhaus-filter-unbound-online.conf" },
|
||||
{ 2323L, 2473L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/phishing-filter/master/dist/phishing-filter.txt" },
|
||||
{ 2323L, 2474L, (short)3, (short)0, "https://glcdn.githack.com/curben/phishing-filter/raw/master/dist/phishing-filter.txt" },
|
||||
{ 2324L, 2476L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/phishing-filter/master/phishing-filter-domains.txt" },
|
||||
{ 2324L, 2477L, (short)3, (short)0, "https://glcdn.githack.com/curben/phishing-filter/raw/master/dist/phishing-filter-domains.txt" },
|
||||
{ 2325L, 2479L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/phishing-filter/master/dist/phishing-filter-dnsmasq.conf" },
|
||||
{ 2325L, 2480L, (short)3, (short)0, "https://glcdn.githack.com/curben/phishing-filter/raw/master/dist/phishing-filter-dnsmasq.conf" },
|
||||
{ 2326L, 2482L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/phishing-filter/master/dist/phishing-filter-hosts.txt" },
|
||||
{ 2326L, 2483L, (short)3, (short)0, "https://glcdn.githack.com/curben/phishing-filter/raw/master/dist/phishing-filter-hosts.txt" },
|
||||
{ 2327L, 2485L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/phishing-filter/master/dist/phishing-filter-bind.conf" },
|
||||
{ 2327L, 2486L, (short)3, (short)0, "https://glcdn.githack.com/curben/phishing-filter/raw/master/dist/phishing-filter-bind.conf" },
|
||||
{ 2328L, 2488L, (short)2, (short)0, "https://cdn.statically.io/gl/curben/phishing-filter/master/dist/phishing-filter-unbound.conf" },
|
||||
{ 2328L, 2489L, (short)3, (short)0, "https://glcdn.githack.com/curben/phishing-filter/raw/master/dist/phishing-filter-unbound.conf" }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,99 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2761 : 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/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");
|
||||
}
|
||||
|
||||
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/BPower0036/AdBlockFilters/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/AdBlockFilters/-/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/BPower0036/AdBlockFilters/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/BPower0036/AdBlockFilters/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/AdBlockFilters/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/BPower0036/AdBlockFilters@main/easydutch.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,83 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2809 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 16L, 3L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 16L, 5L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 16L,
|
||||
columns: new[] { "description", "license_id" },
|
||||
values: new object[] { "Filter that enables removing of ads and anti-adblock scripts from websites with Korean content.", 4L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 18L,
|
||||
columns: new[] { "name", "url" },
|
||||
values: new object[] { "RAIDEN", "https://github.com/Raiden-Ei" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 167L, "piquark6046@protonmail.com", true, "PiQuark6046", null, "https://github.com/piquark6046" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 16L, 167L });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 16L, 167L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 16L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 167L);
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 16L, 3L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 16L,
|
||||
columns: new[] { "description", "license_id" },
|
||||
values: new object[] { "Filter that enables removing of ads, trackers, and various scripts from websites with Korean content.", 8L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 18L,
|
||||
columns: new[] { "name", "url" },
|
||||
values: new object[] { "SlowMemory", "https://github.com/SlowMemory" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,234 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2844 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2566L, "https://matrix.to/#/#porn-records:anontier.nl", "Porn Records Blacklisting. Porn Records from My Privacy DNS is among the best maintained projects and one of them with the lowest FP's as all records are veryfied by a human before committed to the lists. We do also have a Browser add-on for simple committing new domains", "https://ko-fi.com/X8X37FUGU", "incoming+my-privacy-dns-porn-records-2-dmptefj25u6tlslz82c3oolb9-issue@noreply.mypdns.org", null, "https://mypdns.org/my-privacy-dns/porn-records", true, "https://mypdns.org/my-privacy-dns/porn-records/-/issues", 13L, "My Privacy DNS - Porn Records Blacklist", null, "https://mypdns.org/my-privacy-dns/porn-records/-/blob/master/README.md", "https://mypdns.org/my-privacy-dns/porn-records/-/issues" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 168L, null, true, "spirillen", null, "https://mypdns.org/spirillen" },
|
||||
{ 169L, null, true, "Porn Records", null, "https://mypdns.org/porn-records" },
|
||||
{ 170L, null, true, "Razor (@RexAdev)", null, "https://mypdns.org/razor" },
|
||||
{ 171L, null, true, "Titom", null, "https://mypdns.org/Titomrock21" }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[] { 2566L, 37L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2566L, 168L },
|
||||
{ 2566L, 169L },
|
||||
{ 2566L, 170L },
|
||||
{ 2566L, 171L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2566L, 11L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "segment_number", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2566L, 2814L, (short)1, (short)1, "https://mypdns.org/my-privacy-dns/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/wildcard.list" },
|
||||
{ 2566L, 2815L, (short)2, (short)1, "https://raw.githubusercontent.com/mypdns/porn-records/master/submit_here/adult.mypdns.cloud/wildcard.list" },
|
||||
{ 2566L, 2816L, (short)3, (short)1, "https://raw.githubusercontent.com/porn-records/porn-records/master/submit_here/adult.mypdns.cloud/wildcard.list" },
|
||||
{ 2566L, 2817L, (short)4, (short)1, "https://gitlab.com/MypDNS/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/wildcard.list" },
|
||||
{ 2566L, 2818L, (short)1, (short)2, "https://mypdns.org/my-privacy-dns/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/tld.list" },
|
||||
{ 2566L, 2819L, (short)2, (short)2, "https://raw.githubusercontent.com/mypdns/porn-records/master/submit_here/adult.mypdns.cloud/tld.list" },
|
||||
{ 2566L, 2820L, (short)3, (short)2, "https://raw.githubusercontent.com/porn-records/porn-records/master/submit_here/adult.mypdns.cloud/tld.list" },
|
||||
{ 2566L, 2821L, (short)4, (short)2, "https://gitlab.com/MypDNS/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/tld.list" },
|
||||
{ 2566L, 2822L, (short)1, (short)3, "https://mypdns.org/my-privacy-dns/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/domains.list" },
|
||||
{ 2566L, 2823L, (short)2, (short)3, "https://raw.githubusercontent.com/mypdns/porn-records/master/submit_here/adult.mypdns.cloud/domains.list" },
|
||||
{ 2566L, 2824L, (short)3, (short)3, "https://raw.githubusercontent.com/porn-records/porn-records/master/submit_here/adult.mypdns.cloud/domains.list" },
|
||||
{ 2566L, 2825L, (short)4, (short)3, "https://gitlab.com/MypDNS/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/domains.list" },
|
||||
{ 2566L, 2826L, (short)1, (short)4, "https://mypdns.org/my-privacy-dns/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/hosts.list" },
|
||||
{ 2566L, 2827L, (short)2, (short)4, "https://raw.githubusercontent.com/mypdns/porn-records/master/submit_here/adult.mypdns.cloud/hosts.list" },
|
||||
{ 2566L, 2828L, (short)3, (short)4, "https://raw.githubusercontent.com/porn-records/porn-records/master/submit_here/adult.mypdns.cloud/hosts.list" },
|
||||
{ 2566L, 2829L, (short)4, (short)4, "https://gitlab.com/MypDNS/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/hosts.list" },
|
||||
{ 2566L, 2830L, (short)1, (short)5, "https://mypdns.org/my-privacy-dns/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/snuff.list" },
|
||||
{ 2566L, 2831L, (short)2, (short)5, "https://raw.githubusercontent.com/mypdns/porn-records/master/submit_here/adult.mypdns.cloud/snuff.list" },
|
||||
{ 2566L, 2832L, (short)3, (short)5, "https://raw.githubusercontent.com/porn-records/porn-records/master/submit_here/adult.mypdns.cloud/snuff.list" },
|
||||
{ 2566L, 2833L, (short)4, (short)5, "https://gitlab.com/MypDNS/porn-records/-/raw/master/submit_here/adult.mypdns.cloud/snuff.list" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2566L, 37L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2566L, 168L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2566L, 169L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2566L, 170L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2566L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2566L, 11L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2814L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2815L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2816L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2817L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2818L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2819L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2820L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2821L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2822L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2823L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2824L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2825L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2826L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2827L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2828L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2829L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2830L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2831L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2832L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2566L, 2833L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2566L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 168L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 169L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 170L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 171L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,57 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2859 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2471L,
|
||||
columns: new[] { "donate_url", "home_url", "issues_url" },
|
||||
values: new object[] { "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC", "https://github.com/EasyDutch-uBO/EasyDutch/", "https://github.com/EasyDutch-uBO/EasyDutch/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2520L,
|
||||
column: "donate_url",
|
||||
value: "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2521L,
|
||||
column: "donate_url",
|
||||
value: "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2471L,
|
||||
columns: new[] { "donate_url", "home_url", "issues_url" },
|
||||
values: new object[] { "https://www.paypal.com/donate?hosted_button_id=M4D2NPZX5NS4C", "https://github.com/BPower0036/AdBlockFilters/", "https://github.com/BPower0036/AdBlockFilters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2520L,
|
||||
column: "donate_url",
|
||||
value: "https://www.paypal.com/donate?hosted_button_id=M4D2NPZX5NS4C");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2521L,
|
||||
column: "donate_url",
|
||||
value: "https://www.paypal.com/donate?hosted_button_id=M4D2NPZX5NS4C");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,164 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2860 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 16L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/List-KR/List-KR", "https://github.com/List-KR/List-KR/issues" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2567L, null, "Filter that enables removing of ads and anti-adblock scripts from websites with Korean content.", null, null, null, "https://github.com/List-KR/List-KR", true, "https://github.com/List-KR/List-KR/issues", 4L, "List-KR uBO", null, null, null });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 18L,
|
||||
column: "email_address",
|
||||
value: "ei@mgi.sh");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 172L, "seia@outlook.kr", true, "seia-soto", null, "https://github.com/seia-soto" },
|
||||
{ 173L, "green1052@protonmail.ch", true, "green1052", null, "https://github.com/green1052" }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[] { 2567L, 83L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 16L, 172L },
|
||||
{ 16L, 173L },
|
||||
{ 2567L, 18L },
|
||||
{ 2567L, 167L },
|
||||
{ 2567L, 172L },
|
||||
{ 2567L, 173L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2567L, 21L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2567L, 2L },
|
||||
{ 2567L, 5L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "url" },
|
||||
values: new object[] { 2567L, 2834L, "https://github.com/List-KR/List-KR/raw/master/filter-uBO.txt" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2567L, 83L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 16L, 172L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 16L, 173L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2567L, 18L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2567L, 167L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2567L, 172L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2567L, 173L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2567L, 21L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2567L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2567L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2567L, 2834L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2567L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 172L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 173L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 16L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://list-kr.github.io/", null });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 18L,
|
||||
column: "email_address",
|
||||
value: null);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,71 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2873 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 268L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { null, "https://github.com/cjx82630/cjxlist/" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 281L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { null, "https://github.com/cjx82630/cjxlist/" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 300L,
|
||||
columns: new[] { "forum_url", "home_url", "issues_url" },
|
||||
values: new object[] { null, "https://github.com/easylist/easylistchina", "https://github.com/easylist/easylistchina/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2111L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { null, "https://github.com/cjx82630/cjxlist" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 268L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { "https://abpchina.org/forum/forum.php", "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 281L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { "https://abpchina.org/forum/forum.php", "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 300L,
|
||||
columns: new[] { "forum_url", "home_url", "issues_url" },
|
||||
values: new object[] { "https://abpchina.org/forum/forum.php", "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667", "https://github.com/easylist/easylistchina" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2111L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { "https://abpchina.org/forum/forum.php", "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,29 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2874 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 98L,
|
||||
column: "url",
|
||||
value: "https://github.com/easylist/easylistchina");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 98L,
|
||||
column: "url",
|
||||
value: "https://abpchina.org/forum/");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,350 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2876 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2568L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter", null, null, null },
|
||||
{ 2569L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (Domains)", null, null, null },
|
||||
{ 2570L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (dnsmasq)", null, null, null },
|
||||
{ 2571L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (hosts)", null, null, null },
|
||||
{ 2572L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (BIND)", null, null, null },
|
||||
{ 2573L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (Unbound)", null, null, null },
|
||||
{ 2574L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (AdGuard Home)", null, null, null },
|
||||
{ 2575L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (AdGuard)", null, null, null },
|
||||
{ 2576L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (Vivaldi)", null, null, null },
|
||||
{ 2577L, null, "A blocklist of malicious domains targeting Vietnamese users.", null, null, null, "https://gitlab.com/curben/vn-badsite-filter", true, "https://gitlab.com/curben/vn-badsite-filter/issues", 28L, "vn-badsite-filter (IE)", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2568L, 171L },
|
||||
{ 2569L, 171L },
|
||||
{ 2570L, 171L },
|
||||
{ 2571L, 171L },
|
||||
{ 2572L, 171L },
|
||||
{ 2573L, 171L },
|
||||
{ 2574L, 171L },
|
||||
{ 2575L, 171L },
|
||||
{ 2576L, 171L },
|
||||
{ 2577L, 171L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2568L, 158L },
|
||||
{ 2569L, 158L },
|
||||
{ 2570L, 158L },
|
||||
{ 2571L, 158L },
|
||||
{ 2572L, 158L },
|
||||
{ 2573L, 158L },
|
||||
{ 2574L, 158L },
|
||||
{ 2575L, 158L },
|
||||
{ 2576L, 158L },
|
||||
{ 2577L, 158L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2568L, 8L },
|
||||
{ 2569L, 2L },
|
||||
{ 2570L, 20L },
|
||||
{ 2571L, 1L },
|
||||
{ 2572L, 26L },
|
||||
{ 2573L, 24L },
|
||||
{ 2574L, 47L },
|
||||
{ 2575L, 6L },
|
||||
{ 2576L, 6L },
|
||||
{ 2577L, 10L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2568L, 2835L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter.txt" },
|
||||
{ 2569L, 2836L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter-domains.txt" },
|
||||
{ 2570L, 2836L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter-dnsmasq.conf" },
|
||||
{ 2571L, 2837L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter-hosts.txt" },
|
||||
{ 2572L, 2838L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter-bind.conf" },
|
||||
{ 2573L, 2839L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter-unbound.conf" },
|
||||
{ 2574L, 2840L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter-agh.txt" },
|
||||
{ 2575L, 2841L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter-ag.txt" },
|
||||
{ 2576L, 2842L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter-vivaldi.txt" },
|
||||
{ 2577L, 2842L, (short)1, "https://curben.gitlab.io/malware-filter/vn-badsite-filter.tpl" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2568L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2569L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2570L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2571L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2572L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2573L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2574L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2575L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2576L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2577L, 171L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2568L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2569L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2570L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2571L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2572L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2573L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2574L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2575L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2576L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2577L, 158L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2568L, 8L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2569L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2570L, 20L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2571L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2572L, 26L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2573L, 24L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2574L, 47L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2575L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2576L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2577L, 10L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2568L, 2835L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2569L, 2836L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2570L, 2836L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2571L, 2837L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2572L, 2838L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2573L, 2839L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2574L, 2840L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2575L, 2841L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2576L, 2842L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2577L, 2842L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2568L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2569L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2570L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2571L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2572L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2573L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2574L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2575L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2576L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2577L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,29 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2879 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 167L,
|
||||
column: "email_address",
|
||||
value: "piquark6046@proton.me");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 167L,
|
||||
column: "email_address",
|
||||
value: "piquark6046@protonmail.com");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,99 +0,0 @@
|
|||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,43 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2896 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
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, 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");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,89 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2897 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2578L, null, "Machine-readable .txt allowlist of Syncthing Relay Server IP Addresses, updated every hour.", null, null, null, "https://github.com/elliotwutingfeng/SyncthingRelayServerIPs", true, "https://github.com/elliotwutingfeng/SyncthingRelayServerIPs/issues", 10L, "Syncthing Relay Server IPs", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 174L, "wutingfeng@outlook.com", true, "Wu Tingfeng", null, "https://github.com/elliotwutingfeng" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "tags",
|
||||
keyColumn: "id",
|
||||
keyValue: 10L,
|
||||
column: "name",
|
||||
value: "allowlist");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2578L, 174L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2578L, 9L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2578L, 10L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2578L, 2843L, (short)1, "https://github.com/elliotwutingfeng/SyncthingRelayServerIPs/blob/main/ips.txt?raw=1" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2578L, 174L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2578L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2578L, 10L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2578L, 2843L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2578L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 174L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "tags",
|
||||
keyColumn: "id",
|
||||
keyValue: 10L,
|
||||
column: "name",
|
||||
value: "whitelist");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,140 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2898 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2579L, null, "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google. ", null, null, null, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists", true, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists/issues", 9L, "Inversion DNSBL (Domain Name System-based blackhole list) Blocklists Light", null, null, null },
|
||||
{ 2580L, null, "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google. ", null, null, null, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists", true, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists/issues", 9L, "Inversion DNSBL (Domain Name System-based blackhole list) Blocklists Full Hostnames", null, null, null },
|
||||
{ 2581L, null, "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google. ", null, null, null, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists", true, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists/issues", 9L, "Inversion DNSBL (Domain Name System-based blackhole list) Blocklists Full IPv4s", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2579L, 174L },
|
||||
{ 2580L, 174L },
|
||||
{ 2581L, 174L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2579L, 2L },
|
||||
{ 2580L, 2L },
|
||||
{ 2581L, 9L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2579L, 6L },
|
||||
{ 2580L, 6L },
|
||||
{ 2581L, 6L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2579L, 2844L, (short)1, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists/blob/main/Google_hostnames_light.txt?raw=true" },
|
||||
{ 2580L, 2845L, (short)1, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists/blob/main/Google_hostnames.txt?raw=true" },
|
||||
{ 2581L, 2846L, (short)1, "https://github.com/elliotwutingfeng/Inversion-DNSBL-Blocklists/blob/main/Google_ipv4.txt?raw=true" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2579L, 174L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2580L, 174L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2581L, 174L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2579L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2580L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2581L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2579L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2580L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2581L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2579L, 2844L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2580L, 2845L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2581L, 2846L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2579L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2580L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2581L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,117 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2899 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2579L,
|
||||
column: "description",
|
||||
value: "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2580L,
|
||||
column: "description",
|
||||
value: "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2581L,
|
||||
column: "description",
|
||||
value: "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google.");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2582L, null, "Whitelist for Ad Blockers, helps to unblock false positives.", null, null, null, "https://github.com/DevShubam/Whitelist", true, "https://github.com/DevShubam/Whitelist/issues", 2L, "Shub's Whitelist", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 175L, null, true, "DevShubam", null, "https://github.com/DevShubam" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2582L, 175L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2582L, 9L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2582L, 10L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2582L, 2847L, (short)1, "https://raw.githubusercontent.com/DevShubam/Whitelist/master/whitelist.txt" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2582L, 175L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2582L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2582L, 10L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2582L, 2847L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2582L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 175L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2579L,
|
||||
column: "description",
|
||||
value: "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google. ");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2580L,
|
||||
column: "description",
|
||||
value: "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google. ");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2581L,
|
||||
column: "description",
|
||||
value: "Malicious URL blocklists for DNSBL applications like pfBlockerNG or Pi-hole, automatically updated every 24 hours. These blocklists are automatically generated by scanning various public URL sources using the Safe Browsing API from Google. ");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,75 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2900 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2583L, null, "The CCP forces the public to install the tracking app", null, null, null, "https://github.com/sioxe823/Project-RnJlRUhL", true, "https://github.com/sioxe823/Project-RnJlRUhL/issues", 5L, "Project RnJlRUhL", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 176L, null, true, "sioxe823", null, "https://github.com/sioxe823" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[] { 2583L, 179L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2583L, 176L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2583L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2583L, 2848L, (short)1, "https://raw.githubusercontent.com/sioxe823/Project-RnJlRUhL/main/chinese_gov_forced_install.txt" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2583L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2583L, 176L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2583L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2583L, 2848L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2583L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 176L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,43 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2901 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2100L, 2206L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Kees1958/W3C_annual_most_used_survey_blocklist/master/EU_US%2Bmost_used_ad_and_tracking_networks");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2100L,
|
||||
column: "name",
|
||||
value: "EU US most prevalent ads & trackers ABP format for uBlockOrigin and Adguard.");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2100L, 2206L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Kees1958/WS3_annual_most_used_survey_blocklist/master/Top500");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2100L,
|
||||
column: "name",
|
||||
value: "Small but effective adblockplus format blocklist based on the (annal) W3tech and Cookiebot surveys - Top 500");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,65 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2902 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2584L, null, "My home made anti Qanon list.", null, null, null, "https://github.com/ThePirateNerd/Anti-Q", true, "https://github.com/ThePirateNerd/Anti-Q/issues", 5L, "Anti-Q", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 177L, null, true, "ThePirateNerd", null, "https://github.com/ThePirateNerd" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2584L, 177L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2584L, 2L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2584L, 2849L, (short)1, "https://raw.githubusercontent.com/ThePirateNerd/Anti-Q/main/Anti-Q.txt" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2584L, 177L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2584L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2584L, 2849L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2584L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 177L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,65 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2903 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2585L, null, "The BlockList project was created to become protection against negative influence of the harmful and potentially dangerous events on the Internet.", null, "office@blocklist.net.ua", null, "https://blocklist.net.ua/", true, null, 5L, "BlockListNetUA", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "syntaxes",
|
||||
columns: new[] { "id", "description", "is_approved", "name", "url" },
|
||||
values: new object[] { 57L, null, true, "CSV", "https://en.wikipedia.org/wiki/Comma-separated_values" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[] { 2585L, 167L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2585L, 57L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2585L, 2850L, (short)1, "https://blocklist.net.ua/blocklist.csv" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2585L, 167L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2585L, 57L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2585L, 2850L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2585L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "syntaxes",
|
||||
keyColumn: "id",
|
||||
keyValue: 57L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,65 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2904 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2586L, null, "stops traffic associated with domains known to be from the surveillance-for-hire firm Cytrox and related entities", null, null, null, "https://github.com/twcau/AdblockRules/", true, "https://github.com/twcau/AdblockRules/issues", 28L, "CytroxList", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 178L, null, true, "Michael H", null, "https://github.com/twcau" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2586L, 178L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2586L, 3L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2586L, 2851L, (short)1, "https://raw.githubusercontent.com/twcau/AdblockRules/master/CytroxList" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2586L, 178L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2586L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2586L, 2851L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2586L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 178L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,638 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2905 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1673L,
|
||||
columns: new[] { "description", "issues_url" },
|
||||
values: new object[] { "Completely block Google and its services.", "https://github.com/nickspaargaren/no-google/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1674L,
|
||||
columns: new[] { "description", "issues_url" },
|
||||
values: new object[] { "Completely block Google and its services.", "https://github.com/nickspaargaren/no-google/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1675L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1676L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1677L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1678L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1679L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1680L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1681L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1682L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1683L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1684L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1685L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1686L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1687L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1688L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1689L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1690L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1691L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1692L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1693L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1694L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1695L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1696L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1697L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1698L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1699L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1700L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2587L, null, "Completely block Google and its services.", null, "poorpocketsmcnewhold@pm.me", null, "https://github.com/nickspaargaren/no-google", true, "https://github.com/nickspaargaren/no-google/issues", 11L, "No Google (Unbound)", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 179L, null, true, "Nick Spaargaren", null, "https://github.com/nickspaargaren" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 1673L, 179L },
|
||||
{ 1674L, 179L },
|
||||
{ 1675L, 179L },
|
||||
{ 1676L, 179L },
|
||||
{ 1677L, 179L },
|
||||
{ 1678L, 179L },
|
||||
{ 1679L, 179L },
|
||||
{ 1680L, 179L },
|
||||
{ 1681L, 179L },
|
||||
{ 1682L, 179L },
|
||||
{ 1683L, 179L },
|
||||
{ 1684L, 179L },
|
||||
{ 1685L, 179L },
|
||||
{ 1686L, 179L },
|
||||
{ 1687L, 179L },
|
||||
{ 1688L, 179L },
|
||||
{ 1689L, 179L },
|
||||
{ 1690L, 179L },
|
||||
{ 1691L, 179L },
|
||||
{ 1692L, 179L },
|
||||
{ 1693L, 179L },
|
||||
{ 1694L, 179L },
|
||||
{ 1695L, 179L },
|
||||
{ 1696L, 179L },
|
||||
{ 1697L, 179L },
|
||||
{ 1698L, 179L },
|
||||
{ 1699L, 179L },
|
||||
{ 1700L, 179L },
|
||||
{ 2587L, 179L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2587L, 24L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2587L, 19L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2587L, 2852L, (short)1, "https://raw.githubusercontent.com/nickspaargaren/no-google/master/pihole-google-unbound.conf" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1673L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1674L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1675L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1676L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1677L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1678L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1679L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1680L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1681L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1682L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1683L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1684L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1685L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1686L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1687L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1688L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1689L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1690L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1691L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1692L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1693L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1694L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1695L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1696L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1697L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1698L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1699L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 1700L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2587L, 179L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2587L, 24L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2587L, 19L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2587L, 2852L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2587L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 179L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1673L,
|
||||
columns: new[] { "description", "issues_url" },
|
||||
values: new object[] { "Completely block Google and its services .", "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1674L,
|
||||
columns: new[] { "description", "issues_url" },
|
||||
values: new object[] { "Completely block Google and its services .", "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1675L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1676L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1677L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1678L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1679L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1680L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1681L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1682L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1683L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1684L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1685L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1686L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1687L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1688L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1689L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1690L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1691L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1692L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1693L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1694L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1695L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1696L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1697L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1698L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1699L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1700L,
|
||||
column: "issues_url",
|
||||
value: "https://github.com/nickspaargaren/no-google/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,75 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2908 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2588L, null, "gnX threat intelligence feed contains a blacklist of IP addresses that have crossed a threshold indicating malicious intent and/or potential IOC [indicator of compromise] activity. Because of the criteria standards and threat list sanitiation process, we significantly reduce the potential of false positives. Can be used as a standalone blocklist or to agument your existing threat intelligence.", null, null, null, "https://github.com/gnxsecurity/gnx-threat-intelligence", true, "https://github.com/gnxsecurity/gnx-threat-intelligence/issues", 5L, "gnX Threat Intelligence", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 180L, null, true, "gnxsecurity", null, "https://github.com/gnxsecurity" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2588L, 180L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2588L, 9L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2588L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2588L, 2853L, (short)1, "https://raw.githubusercontent.com/gnxsecurity/gnx-threat-intelligence/master/latest-blacklist.raw" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2588L, 180L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2588L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2588L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2588L, 2853L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2588L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 180L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,102 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2909 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2589L, null, "ThreatShare is an advanced threat tracker that publicly tracks command & control servers for malware. The tracker is powered by Sentinel, an automated intelligence platform built to supply ThreatShare with a constant stream of control panels. Threat intelligence can be submitted through the site and will then be displayed to our users. This service is non profit and has been created to expose cybercriminals to the public along with providing researchers with a steady stream of threat intelligence.", null, null, null, "https://threatshare.io/", true, null, 5L, "ThreatShare", null, null, "https://threatshare.io/submit/" },
|
||||
{ 2590L, null, "Websites deemed by the Bank of Lithuania to be used for conducting fraudulent activities and money scams.", null, null, null, "https://www.lb.lt/en/illegalwww", true, null, 5L, "Bank of Lithuania Illegal websites", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 181L, null, true, "Bank of Lithuania", null, "https://www.lb.lt/" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2590L, 181L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2589L, 57L },
|
||||
{ 2590L, 57L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2589L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2589L, 2854L, (short)1, "https://threatshare.io/feed" },
|
||||
{ 2590L, 2855L, (short)1, "https://www.lb.lt/en/illegalwww?export=csv" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2590L, 181L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2589L, 57L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2590L, 57L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2589L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2589L, 2854L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2590L, 2855L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2589L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2590L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 181L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,83 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3001 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2095L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2095L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2095L, 3L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2095L, 10L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2095L, 2202L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock/master/adguard/dns-unbreak.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2095L,
|
||||
columns: new[] { "description", "license_id", "name" },
|
||||
values: new object[] { "This list fixes known problems in AdGuard DNS filter mostly for Japanese user.", 8L, "AdGuard DNS filter Unbreaker for Japanese" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2095L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2095L, 10L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2095L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2095L, 6L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2095L, 2202L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/280-patch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2095L,
|
||||
columns: new[] { "description", "license_id", "name" },
|
||||
values: new object[] { "Enhance anti-scam capability of 280blocker adblock filter by utilizing advanced capability of AdGuard/uBlock Origin.", 28L, "Anti-scam enhancer for 280blocker adblock filter" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,299 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3063 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2550L, 2770L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/whitelist-referral.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2550L,
|
||||
columns: new[] { "email_address", "home_url", "name" },
|
||||
values: new object[] { null, "https://github.com/hagezi/dns-blocklists", "HaGeZi's Referral Whitelist" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2591L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Multi DNS Blocklist (Hosts)", null, null, null },
|
||||
{ 2592L, null, "Increases security significantly! Blocks Malware, Crypto, Coin, Spam, Scam and Phishing.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Threat Intelligence Feeds DNS Blocklist (Hosts)", null, null, null },
|
||||
{ 2593L, null, "Protects against internet scams, traps & fakes! Blocks fake stores, -news, -science, -streaming, rip-offs, cost traps and co.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Fake DNS Blocklist (Hosts)", null, null, null },
|
||||
{ 2594L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Multi DNS Blocklist (AdBlock/AdGuard)", null, null, null },
|
||||
{ 2595L, null, "Increases security significantly! Blocks Malware, Crypto, Coin, Spam, Scam and Phishing.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Threat Intelligence Feeds DNS Blocklist (AdBlock/AdGuard)", null, null, null },
|
||||
{ 2596L, null, "Protects against internet scams, traps & fakes! Blocks fake stores, -news, -science, -streaming, rip-offs, cost traps and co.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Fake DNS Blocklist (AdBlock/AdGuard)", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2591L, 1L },
|
||||
{ 2592L, 1L },
|
||||
{ 2593L, 1L },
|
||||
{ 2594L, 47L },
|
||||
{ 2595L, 47L },
|
||||
{ 2596L, 47L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2591L, 1L },
|
||||
{ 2591L, 2L },
|
||||
{ 2591L, 3L },
|
||||
{ 2591L, 4L },
|
||||
{ 2591L, 6L },
|
||||
{ 2591L, 7L },
|
||||
{ 2591L, 9L },
|
||||
{ 2592L, 6L },
|
||||
{ 2592L, 7L },
|
||||
{ 2593L, 15L },
|
||||
{ 2594L, 1L },
|
||||
{ 2594L, 2L },
|
||||
{ 2594L, 3L },
|
||||
{ 2594L, 4L },
|
||||
{ 2594L, 6L },
|
||||
{ 2594L, 7L },
|
||||
{ 2594L, 9L },
|
||||
{ 2595L, 6L },
|
||||
{ 2595L, 7L },
|
||||
{ 2596L, 15L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2591L, 2856L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/multi.txt" },
|
||||
{ 2592L, 2857L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/tif.txt" },
|
||||
{ 2593L, 2858L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/fake.txt" },
|
||||
{ 2594L, 2859L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/multi.txt" },
|
||||
{ 2595L, 2860L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/tif.txt" },
|
||||
{ 2596L, 2861L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/adblock/fake.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2591L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2592L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2593L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2594L, 47L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2595L, 47L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2596L, 47L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2591L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2591L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2591L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2591L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2591L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2591L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2591L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2592L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2592L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2593L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2594L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2594L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2594L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2594L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2594L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2594L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2594L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2595L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2595L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2596L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2591L, 2856L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2592L, 2857L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2593L, 2858L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2594L, 2859L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2595L, 2860L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2596L, 2861L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2591L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2592L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2593L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2594L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2595L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2596L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2550L, 2770L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Zelo72/adguard/main/whitelist.referral.adguard");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2550L,
|
||||
columns: new[] { "email_address", "home_url", "name" },
|
||||
values: new object[] { "zelo72@dismail.de", "https://github.com/Zelo72/adguard", "Zelo72's Referral Whitelist" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,248 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3069 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2550L,
|
||||
column: "description",
|
||||
value: "Allow affiliate and tracking domains that appear frequently on offer web pages, in emails, or in search results. These are usually accessed only after manually clicking a link.");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2597L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Multi DNS Blocklist (Domains)", null, null, null },
|
||||
{ 2598L, null, "Increases security significantly! Blocks Malware, Crypto, Coin, Spam, Scam and Phishing.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Threat Intelligence Feeds DNS Blocklist (Domains)", null, null, null },
|
||||
{ 2599L, null, "Protects against internet scams, traps & fakes! Blocks fake stores, -news, -science, -streaming, rip-offs, cost traps and co.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, null, 11L, "HaGeZi's Fake DNS Blocklist (Domains)", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 182L, null, true, "HaGeZi", null, "https://github.com/hagezi" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2550L, 182L },
|
||||
{ 2591L, 182L },
|
||||
{ 2592L, 182L },
|
||||
{ 2593L, 182L },
|
||||
{ 2594L, 182L },
|
||||
{ 2595L, 182L },
|
||||
{ 2596L, 182L },
|
||||
{ 2597L, 182L },
|
||||
{ 2598L, 182L },
|
||||
{ 2599L, 182L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2597L, 2L },
|
||||
{ 2598L, 2L },
|
||||
{ 2599L, 2L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2597L, 1L },
|
||||
{ 2597L, 2L },
|
||||
{ 2597L, 3L },
|
||||
{ 2597L, 4L },
|
||||
{ 2597L, 6L },
|
||||
{ 2597L, 7L },
|
||||
{ 2597L, 9L },
|
||||
{ 2598L, 6L },
|
||||
{ 2598L, 7L },
|
||||
{ 2599L, 15L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2597L, 2862L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/multi.txt" },
|
||||
{ 2598L, 2863L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/tif.txt" },
|
||||
{ 2599L, 2864L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/fake.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2550L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2591L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2592L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2593L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2594L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2595L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2596L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2597L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2598L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2599L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2597L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2598L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2599L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2597L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2597L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2597L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2597L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2597L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2597L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2597L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2598L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2598L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2599L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2597L, 2862L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2598L, 2863L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2599L, 2864L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2597L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2598L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2599L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 182L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2550L,
|
||||
column: "description",
|
||||
value: null);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,353 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3080 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 391L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Are you tired of bad \"games\" clogging up your electronic devices' app stores? Then this list is for you.", "Anti-'Asset Flip Shovelware' List" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2286L,
|
||||
column: "name",
|
||||
value: "Dandelion Sprout's Nordic filters for tidier websites (for Adblock Plus with ABP inclusion compliance)");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2377L,
|
||||
column: "name",
|
||||
value: "Dandelion Sprout's Nordic filters for tidier websites (for Adblock Plus with ABP inclusion compliance) + EasyList");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2378L,
|
||||
column: "name",
|
||||
value: "Dandelion Sprout's Nordic filters for tidier websites (for Adblock Plus with ABP inclusion compliance) + EasyList (TPL)");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2600L, null, "List of malicious links.", null, null, null, "https://github.com/DevSpen/scam-links", true, null, 11L, "Scam Links - Links", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2601L, null, "Some custom cosmetic filters to be used for ublock origin & adguard. This filter is mainly for mobile browsing specifically for heavily modified AMP pages. Beware that this filter is very aggressive filters which disables the following from an webpage and is very effective if used with uBlock Origin and AdGuard.", null, null, null, "https://github.com/blogmangit/Cosmetic-Filters", true, null, "blogmangit Cosmetic-Filters", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2602L, null, "(JohnyP36:) My own updated version of EasyList Dutch. I made this filter because the EasyList Dutch filter isn't maintained often. And more important: EasyList doesn't allow anti-adblock rules.", "https://www.paypal.com/donate?hosted_button_id=8BBT5V55TGVXW", null, null, "https://github.com/JohnyP36/Personal-List", true, null, 4L, "EasyList Dutch (JohnyP36)", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2603L, null, "Adblocker list (experimental) which allows you to read articles from (supported) sites that implement a paywall. For some sites it will log you out (or block you to log in); caused by removing cookies or blocking general paywall-scripts. Disclaimer: the list doesn't support as many sites as the extension/add-on though.", null, null, null, "https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters", true, null, "Bypass Paywalls Clean filter", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2604L, null, "A filter list for Adblock Plus for remove \"Go to up\" buttons", null, null, null, "https://github.com/thedoggybrad/anti-gotoup-buttons", true, null, 17L, "anti-gotoup-buttons", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2605L, null, null, null, "info@lpt.lt", null, "https://lpt.lrv.lt/lt/nelegalios-losimu-veiklos-vykdytojai/istaigoms-ir-institucijoms", true, null, "List of illegal online gambling operators by the Government of the Republic of Lithuania (For institutions)", null, null, null },
|
||||
{ 2606L, null, null, null, "info@lpt.lt", null, "https://lpt.lrv.lt/lt/nelegalios-losimu-veiklos-vykdytojai/nelegalios-losimu-veiklos-vykdytoju-sarasas", true, null, "List of illegal online gambling operators by the Government of the Republic of Lithuania", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2607L, null, "This compilation include lists that are maintained as properly and proudly as those in the main Annoyances List, but which have unresolved matters about overblocking, unusual topics, or potential regional legal issues (primarily in the Middle East), that would've caused the AdGuard Filters Registry team to raise eyebrows until resolvements have been agreed on.", "https://sproutsluckycorner.wordpress.com/2017/11/14/my-work-and-contact-resume/#donations", "imreeil42@gmail.com", null, "https://github.com/DandelionSprout/adfilt", true, "https://github.com/DandelionSprout/adfilt/issues", 35L, "Dandelion Sprout's Annoyances List 2nd Division Bachelors", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[] { 2602L, 113L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2607L, 22L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2600L, 2L },
|
||||
{ 2601L, 3L },
|
||||
{ 2602L, 4L },
|
||||
{ 2603L, 4L },
|
||||
{ 2604L, 3L },
|
||||
{ 2605L, 2L },
|
||||
{ 2606L, 2L },
|
||||
{ 2607L, 4L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2600L, 6L },
|
||||
{ 2601L, 9L },
|
||||
{ 2602L, 2L },
|
||||
{ 2602L, 5L },
|
||||
{ 2603L, 40L },
|
||||
{ 2604L, 15L },
|
||||
{ 2605L, 17L },
|
||||
{ 2606L, 17L },
|
||||
{ 2607L, 9L },
|
||||
{ 2607L, 22L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2600L, 2865L, (short)1, "https://raw.githubusercontent.com/DevSpen/links/master/src/links.txt" },
|
||||
{ 2601L, 2866L, (short)1, "https://raw.githubusercontent.com/blogmangit/Cosmetic-Filters/main/cosmetic filters.txt" },
|
||||
{ 2602L, 2867L, (short)1, "https://raw.githubusercontent.com/JohnyP36/Personal-List/main/Personal List (uBo).txt" },
|
||||
{ 2603L, 2868L, (short)1, "https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters/-/raw/main/bpc-paywall-filter.txt" },
|
||||
{ 2604L, 2869L, (short)1, "https://raw.githubusercontent.com/thedoggybrad/anti-gotoup-buttons/master/filter.txt" },
|
||||
{ 2605L, 2870L, (short)1, "https://lpt.lrv.lt/uploads/lpt/documents/files/institucijoms.txt" },
|
||||
{ 2606L, 2871L, (short)1, "https://lpt.lrv.lt/uploads/lpt/documents/files/neleg.txt" },
|
||||
{ 2607L, 2872L, (short)1, "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AnnoyancesList-2ndDivision.txt" },
|
||||
{ 2607L, 2873L, (short)2, "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/AnnoyancesList-2ndDivision.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2602L, 113L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2607L, 22L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2600L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2601L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2602L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2603L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2604L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2605L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2606L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2607L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2600L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2601L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2602L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2602L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2603L, 40L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2604L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2605L, 17L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2606L, 17L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2607L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2607L, 22L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2600L, 2865L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2601L, 2866L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2602L, 2867L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2603L, 2868L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2604L, 2869L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2605L, 2870L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2606L, 2871L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2607L, 2872L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2607L, 2873L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2600L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2601L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2602L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2603L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2604L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2605L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2606L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2607L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 391L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Removes popular games and most bad games from the front pages of various webstores and app stores.", "I Hate Overpromoted Games" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2286L,
|
||||
column: "name",
|
||||
value: "Dandelion Sprout's West Nordic filters for tidier websites (for Adblock Plus with ABP inclusion compliance)");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2377L,
|
||||
column: "name",
|
||||
value: "Dandelion Sprout's West Nordic filters for tidier websites (for Adblock Plus with ABP inclusion compliance) + EasyList");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2378L,
|
||||
column: "name",
|
||||
value: "Dandelion Sprout's West Nordic filters for tidier websites (for Adblock Plus with ABP inclusion compliance) + EasyList (TPL)");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,341 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3114 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 566L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 569L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 570L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 573L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 574L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 575L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 583L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 585L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 586L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 1799L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2125L, 5L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 566L, 2L },
|
||||
{ 566L, 10L },
|
||||
{ 569L, 2L },
|
||||
{ 570L, 2L },
|
||||
{ 573L, 2L },
|
||||
{ 574L, 2L },
|
||||
{ 575L, 2L },
|
||||
{ 583L, 2L },
|
||||
{ 585L, 2L },
|
||||
{ 586L, 2L },
|
||||
{ 1799L, 2L },
|
||||
{ 2125L, 2L },
|
||||
{ 2125L, 10L }
|
||||
});
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 566L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 569L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - Chinese Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 570L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - Czech Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 573L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - English Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 574L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - French Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 575L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - German Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 583L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - Portuguese Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 585L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - Russian Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 586L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - Spanish Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1799L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters - Arabic Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2125L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "ABP Filters (TPL)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2534L,
|
||||
column: "description",
|
||||
value: "This IP set combines IP and CIDR addresses from plentiful of major adblocker lists. It contains heavily altered content from Dandelion Sprout's Anti-Malware List, Dandelion Sprout's Nordic Filters, EasyList, uBlock Filters, uBlock Filters - Badware Risks, AdGuard Base Filter, AdGuard French Filter, EasyList Germany, RU AdList, Liste AR, and EasyList Spanish.");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 566L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 566L, 10L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 569L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 570L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 573L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 574L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 575L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 583L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 585L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 586L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 1799L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2125L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2125L, 10L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 566L, 5L },
|
||||
{ 569L, 5L },
|
||||
{ 570L, 5L },
|
||||
{ 573L, 5L },
|
||||
{ 574L, 5L },
|
||||
{ 575L, 5L },
|
||||
{ 583L, 5L },
|
||||
{ 585L, 5L },
|
||||
{ 586L, 5L },
|
||||
{ 1799L, 5L },
|
||||
{ 2125L, 5L }
|
||||
});
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 566L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 569L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - Chinese Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 570L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - Czech Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 573L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - English Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 574L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - French Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 575L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - German Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 583L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - Portuguese Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 585L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - Russian Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 586L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - Spanish Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1799L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List - Arabic Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2125L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Filter list designed to fight circumvention ads in Adblock Plus", "ABP Anti-Circumvention Filter List (TPL)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2534L,
|
||||
column: "description",
|
||||
value: "This IP set combines IP and CIDR addresses from plentiful of major adblocker lists. It contains heavily altered content from Dandelion Sprout's Anti-Malware List, Dandelion Sprout's Nordic Filters, EasyList, uBlock Filters, uBlock Filters - Badware Risks, AdGuard Base Filter, AdGuard French Filter, EasyList Germany, ABP Anti-Circumvention Filters, RU AdList, Liste AR, and EasyList Spanish.");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,151 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3140 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2608L, null, "Finally, an optimal and extensive list for blocking ads and trackers on Persian language sites!", null, null, null, "https://github.com/MasterKia/PersianBlocker", true, "https://github.com/MasterKia/PersianBlocker/issues", 4L, "PersianBlocker: Official Regional Persian/Iranian Domains and Cosmetic Blocklist", null, null, null },
|
||||
{ 2609L, null, "Finally, an optimal and extensive list for blocking ads and trackers on Persian language sites! (PiHole domains edition)", null, null, null, "https://github.com/MasterKia/PersianBlocker", true, "https://github.com/MasterKia/PersianBlocker/issues", 4L, "PersianPiHole: List of Regional Persian/Iranian Domains-Only Blocklist", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 183L, null, true, "MasterKia", null, "https://github.com/MasterKia" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2608L, 42L },
|
||||
{ 2609L, 42L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2608L, 183L },
|
||||
{ 2609L, 183L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2608L, 4L },
|
||||
{ 2609L, 2L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2608L, 2L },
|
||||
{ 2608L, 3L },
|
||||
{ 2609L, 2L },
|
||||
{ 2609L, 3L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2608L, 2874L, (short)1, "https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianBlocker.txt" },
|
||||
{ 2609L, 2875L, (short)1, "https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianPiHole.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2608L, 42L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2609L, 42L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2608L, 183L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2609L, 183L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2608L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2609L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2608L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2608L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2609L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2609L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2608L, 2874L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2609L, 2875L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2608L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2609L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 183L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,25 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3177 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 383L);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 383L, "https://discordapp.com/invite/013MqTM1p1qm52VcZ", "Removes uncovered AD, AD frames, and adblock warnings from specific popular websites", "https://austinhuang.me/donate", "im@austinhuang.me", null, "https://austinhuang.me/0131-block-list/", true, "https://github.com/austinhuang0131/0131-block-list/issues", 8L, "0131 Block List", null, null, "https://austinhuang.me/contact" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,57 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3236 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2609L, 2875L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianBlockerHosts.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2608L,
|
||||
column: "license_id",
|
||||
value: 43L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2609L,
|
||||
columns: new[] { "description", "license_id", "name" },
|
||||
values: new object[] { "Finally, an optimal and extensive list for blocking ads and trackers on Persian language sites! (Domains edition)", 43L, "PersianBlockerHosts: List of Regional Persian/Iranian Domains-Only Blocklist" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2609L, 2875L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/MasterKia/PersianBlocker/main/PersianPiHole.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2608L,
|
||||
column: "license_id",
|
||||
value: 4L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2609L,
|
||||
columns: new[] { "description", "license_id", "name" },
|
||||
values: new object[] { "Finally, an optimal and extensive list for blocking ads and trackers on Persian language sites! (PiHole domains edition)", 4L, "PersianPiHole: List of Regional Persian/Iranian Domains-Only Blocklist" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,324 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3248 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 1968L, 31L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2542L, 28L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 1968L, 8L },
|
||||
{ 1969L, 5L },
|
||||
{ 1969L, 28L },
|
||||
{ 2542L, 9L }
|
||||
});
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1968L, 2045L },
|
||||
column: "url",
|
||||
value: "https://filters.adtidy.org/windows/filters/18.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1969L, 2046L },
|
||||
column: "url",
|
||||
value: "https://filters.adtidy.org/windows/filters/19.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1970L, 2047L },
|
||||
column: "url",
|
||||
value: "https://filters.adtidy.org/windows/filters/20.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1971L, 2048L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/AnnoyancesFilter/Popups/sections/antiadblock.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2542L, 2762L },
|
||||
column: "url",
|
||||
value: "https://filters.adtidy.org/windows/filters/21.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1968L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Blocks cookie notices on web pages.", "AdGuard Cookie Notices filter" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1969L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Blocks all kinds of pop-ups that are not necessary for websites' operation.", "AdGuard Popups filter" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1970L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Blocks irritating banners that promote mobile apps of websites.", "AdGuard Mobile App Banners filter" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1971L,
|
||||
column: "name",
|
||||
value: "AdGuard Popups filter - Anti-Adblock Only");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2542L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Blocks irritating elements on web pages that do not fall under the popular categories of annoyances.", "AdGuard Other Annoyances filter" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2610L, null, "Blocks annoying third-party widgets: online assistants, live support chats, etc.", null, null, "https://forum.adguard.com/index.php?categories/filter-rules.66/", "https://github.com/AdguardTeam/AdguardFilters", true, "https://github.com/AdguardTeam/AdguardFilters/issues", 12L, "AdGuard Widgets filter", null, "https://kb.adguard.com/en/general/adguard-filter-policy", null },
|
||||
{ 2611L, null, "This list makes deviantART focus more on quality custom art, by removing as much as feasible of the horrid leftovers that the site is stuffed with. No more copypaste MS Paint, no more bad takes from the authors' or \"characters'\" standpoints, no more mega crossovers, no more inflation, no more top 23 rankings, and no more Thomas the Tank Engine. This list could possibly end up saving lives.", "https://sproutsluckycorner.wordpress.com/2017/11/14/my-work-and-contact-resume/#donations", "imreeil42@gmail.com", null, "https://github.com/DandelionSprout/adfilt", true, "https://github.com/DandelionSprout/adfilt/issues", 35L, "deviantART Quality Art Magnifier", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2610L, 46L },
|
||||
{ 2611L, 22L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2610L, 6L },
|
||||
{ 2611L, 4L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2610L, 15L },
|
||||
{ 2611L, 9L },
|
||||
{ 2611L, 11L },
|
||||
{ 2611L, 30L },
|
||||
{ 2611L, 34L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2610L, 2876L, (short)1, "https://filters.adtidy.org/windows/filters/22.txt" },
|
||||
{ 2611L, 2877L, (short)1, "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/DeviantARTQualityArtMagnifier.txt" },
|
||||
{ 2611L, 2878L, (short)2, "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/DeviantARTQualityArtMagnifier.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2610L, 46L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2611L, 22L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2610L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2611L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 1968L, 8L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 1969L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 1969L, 28L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2542L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2610L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2611L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2611L, 11L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2611L, 30L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2611L, 34L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2610L, 2876L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2611L, 2877L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2611L, 2878L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2610L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2611L);
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 1968L, 31L },
|
||||
{ 2542L, 28L }
|
||||
});
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1968L, 2045L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/AnnoyancesFilter/sections/remains.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1969L, 2046L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/AnnoyancesFilter/sections/push-notifications.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1970L, 2047L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/AnnoyancesFilter/sections/mobile-app.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1971L, 2048L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/AnnoyancesFilter/sections/antiadblock.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2542L, 2762L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/AdguardTeam/AdguardFilters/master/AnnoyancesFilter/sections/subscriptions.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1968L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Blocks empty leftover boxes.", "AdGuard Annoyances Filter - Remains Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1969L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Rules for blocking push notifications.", "AdGuard Annoyances Filter - Push Notifications Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1970L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "Banners of mobile apps for the sites.", "AdGuard Annoyances Filter - Mobile App Only" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1971L,
|
||||
column: "name",
|
||||
value: "AdGuard Annoyances Filter - Anti-Adblock Only");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2542L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { null, "AdGuard Annoyances Filter - Subscriptions and Newsletters Only" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,57 +0,0 @@
|
|||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,65 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3285 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2612L, null, "Conversion Syntax of AdAway Default Blocklist for AdGuard.", null, null, null, "https://github.com/Leaf16591/AdAway-Default-Blocklist-AdGuard-Version", true, "https://github.com/Leaf16591/AdAway-Default-Blocklist-AdGuard-Version/issues", 5L, "AdAway Default Blocklist (AdGuard Version)", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 184L, null, true, "Matteo", null, "https://github.com/Leaf16591" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2612L, 184L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2612L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2612L, 2879L, (short)1, "https://raw.githubusercontent.com/Leaf16591/AdAway-Default-Blocklist-AdGuard-Version/main/Host" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2612L, 184L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2612L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2612L, 2879L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2612L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 184L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,55 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3286 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2613L, null, "Malicious IP blocklists derived via lexical analysis of cloud virtual machine hostnames listed in the Inversion DNSBL Blocklists, updated every hour.", null, null, null, "https://github.com/elliotwutingfeng/Inversion-CloudIPs", true, "https://github.com/elliotwutingfeng/Inversion-CloudIPs/issues", 10L, "Inversion CloudIPs", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2613L, 174L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2613L, 1L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[] { 2613L, 2880L, (short)1, "https://raw.githubusercontent.com/elliotwutingfeng/Inversion-CloudIPs/main/ips.txt" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2613L, 174L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2613L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2613L, 2880L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2613L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,197 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3287 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2614L, null, "A filter list for Adblock Plus for remove all newsletters banners", null, null, null, "https://github.com/thedoggybrad/no-newsletter", true, "https://github.com/thedoggybrad/no-newsletter/issues", 17L, "no-newsletter", null, null, null },
|
||||
{ 2615L, null, "No mercy for 3rd Party Frames.", null, null, null, "https://github.com/thedoggybrad/Frame-Blocker-Filter", true, "https://github.com/thedoggybrad/Frame-Blocker-Filter/issues", 17L, "Frame-Blocker-Filter (3rd Party only)", null, null, null },
|
||||
{ 2616L, null, "No mercy for all frames.", null, null, null, "https://github.com/thedoggybrad/Frame-Blocker-Filter", true, "https://github.com/thedoggybrad/Frame-Blocker-Filter/issues", 17L, "Frame-Blocker-Filter (All Frames)", null, null, null },
|
||||
{ 2617L, null, "No mercy for 3rd party frames with Google and YouTube exceptions.", null, null, null, "https://github.com/thedoggybrad/Frame-Blocker-Filter", true, "https://github.com/thedoggybrad/Frame-Blocker-Filter/issues", 17L, "3rd Party only Frame Blocking with Google and YouTube exceptions", null, null, null },
|
||||
{ 2618L, null, "No mercy for 3rd Party Frames except for common Social Media sites.", null, null, null, "https://github.com/thedoggybrad/Frame-Blocker-Filter", true, "https://github.com/thedoggybrad/Frame-Blocker-Filter/issues", 17L, "3rd Party only Frame Blocking with Social Media exceptions", null, null, null },
|
||||
{ 2619L, null, "A bigger variant of Frame-Blocker-Filter. This variant-filter is designed to block non-essential Frames.", null, null, null, "https://github.com/thedoggybrad/Non-Essential-Frames-Blocker", true, "https://github.com/thedoggybrad/Non-Essential-Frames-Blocker/issues", 17L, "Non-Essential-Frames-Blocker", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 185L, null, true, "The Doggy Brad", null, "https://github.com/thedoggybrad" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2614L, 185L },
|
||||
{ 2615L, 185L },
|
||||
{ 2616L, 185L },
|
||||
{ 2617L, 185L },
|
||||
{ 2618L, 185L },
|
||||
{ 2619L, 185L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2614L, 3L },
|
||||
{ 2615L, 3L },
|
||||
{ 2616L, 3L },
|
||||
{ 2617L, 3L },
|
||||
{ 2618L, 3L },
|
||||
{ 2619L, 3L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2614L, 2881L, (short)1, "https://raw.githubusercontent.com/thedoggybrad/no-newsletter/master/filter.txt" },
|
||||
{ 2615L, 2882L, (short)1, "https://raw.githubusercontent.com/thedoggybrad/Frame-Blocker-Filter/main/3rdParty.txt" },
|
||||
{ 2616L, 2883L, (short)1, "https://raw.githubusercontent.com/thedoggybrad/Frame-Blocker-Filter/main/All.txt" },
|
||||
{ 2617L, 2884L, (short)1, "https://raw.githubusercontent.com/thedoggybrad/Frame-Blocker-Filter/main/googleyt-exception.txt" },
|
||||
{ 2618L, 2885L, (short)1, "https://raw.githubusercontent.com/thedoggybrad/Frame-Blocker-Filter/main/socialmedia-exception.txt" },
|
||||
{ 2619L, 2886L, (short)1, "https://raw.githubusercontent.com/thedoggybrad/Non-Essential-Frames-Blocker/main/filter.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2614L, 185L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2615L, 185L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2616L, 185L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2617L, 185L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2618L, 185L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2619L, 185L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2614L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2615L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2616L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2617L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2618L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2619L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2614L, 2881L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2615L, 2882L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2616L, 2883L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2617L, 2884L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2618L, 2885L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2619L, 2886L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2614L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2615L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2616L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2617L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2618L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2619L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 185L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,563 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3328 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2079L, 37L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2089L, 37L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2091L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2092L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2093L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2094L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2096L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2097L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2098L, 37L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_languages",
|
||||
keyColumns: new[] { "filter_list_id", "language_id" },
|
||||
keyValues: new object[] { 2475L, 73L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2079L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2089L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2091L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2092L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2093L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2094L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2096L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2097L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2098L, 150L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2475L, 159L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2089L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2091L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2092L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2093L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2094L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2096L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2097L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2098L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2475L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2089L, 31L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2091L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2092L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2093L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2094L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2096L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2097L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2098L, 5L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2475L, 10L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2079L, 2186L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2081L, 2188L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2082L, 2189L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2084L, 2191L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2089L, 2196L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2091L, 2198L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2092L, 2199L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2093L, 2200L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2094L, 2201L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2096L, 2683L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2097L, 2706L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2098L, 2707L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2475L, 2684L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2079L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2081L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2082L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2084L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2089L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2091L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2092L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2093L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2094L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2096L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2097L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2098L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2475L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 159L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1L, 1L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock2/main/japanese/jpf-plus.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2085L, 2192L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock2/main/medium_mode/dynamic-rules.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2088L, 2195L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock2/main/medium_mode/dynamic-rules-mob.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2095L, 2202L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock2/main/japanese/dns-unbreak.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1L,
|
||||
columns: new[] { "description", "home_url", "issues_url", "license_id", "name" },
|
||||
values: new object[] { "This complements AdGuard Japanese filter and mainly consists of 1) additional generic rules to counter circumvention ads and anti-adblock, and 2) specific rules to address sites not addresed in the Japanese filters.", "https://github.com/Yuki2718/adblock2", "https://github.com/Yuki2718/adblock2/issues", 4L, "AdGuard Japanese filter Plus" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2085L,
|
||||
columns: new[] { "home_url", "issues_url", "license_id" },
|
||||
values: new object[] { "https://github.com/Yuki2718/adblock2", "https://github.com/Yuki2718/adblock2/issues", 4L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2088L,
|
||||
columns: new[] { "home_url", "issues_url", "license_id" },
|
||||
values: new object[] { "https://github.com/Yuki2718/adblock2", "https://github.com/Yuki2718/adblock2/issues", 4L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2095L,
|
||||
columns: new[] { "home_url", "issues_url", "license_id" },
|
||||
values: new object[] { "https://github.com/Yuki2718/adblock2", "https://github.com/Yuki2718/adblock2/issues", 4L });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1L, 1L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-mob.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2085L, 2192L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock/master/medium_mode/dynamic-rules.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2088L, 2195L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock/master/medium_mode/dynamic-rules-mob.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2095L, 2202L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock/master/adguard/dns-unbreak.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1L,
|
||||
columns: new[] { "description", "home_url", "issues_url", "license_id", "name" },
|
||||
values: new object[] { "Add this if you use Yuki's uBlock Japanese filters with uBlock Origin on Firefox for Mobile.", "https://github.com/Yuki2718/adblock", "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's uBlock Japanese filters - Mobile" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2085L,
|
||||
columns: new[] { "home_url", "issues_url", "license_id" },
|
||||
values: new object[] { "https://github.com/Yuki2718/adblock", "https://github.com/Yuki2718/adblock/issues", 8L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2088L,
|
||||
columns: new[] { "home_url", "issues_url", "license_id" },
|
||||
values: new object[] { "https://github.com/Yuki2718/adblock", "https://github.com/Yuki2718/adblock/issues", 8L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2095L,
|
||||
columns: new[] { "home_url", "issues_url", "license_id" },
|
||||
values: new object[] { "https://github.com/Yuki2718/adblock", "https://github.com/Yuki2718/adblock/issues", 8L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2079L, null, "AdGuard Social media filter tends to rely too much on cosmetic filters IMHO. This filter consists of network filters only and complements Social media filter.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "AdGuard Social Media Plus", null, null, null },
|
||||
{ 2081L, null, "Inspired by Sable Filter at MeetingLabs, this removes cookie consents. Main focuses are Japanese sites and other high-traffic sites many Japanese people will visit. False-positive prone rules won't be added (e.g. cookielaw.org, uk-cookie-consent plugin).", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's Cookie Dialogue filters", null, null, null },
|
||||
{ 2082L, null, "This removes blog parts and ranking buttons on Japanese websites.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's Blog Parts", null, null, null },
|
||||
{ 2084L, null, "This is to counter unnecessary or too generic allowlists which were not addressed or won't be addressed by the maintainer. Only for advanced user as it can cause problems.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's uBlock Anti-allowlist", null, null, null },
|
||||
{ 2089L, null, "Ignore generic cosmetic filters is recommended if you want better performance without sacrificing security or privacy. However, you'll notice ugly layout of many websites once you enabled this option. This filter mitigates this on English sites by removing placeholders left as a result of disabling generic cosmetic filters.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Placeholder Hider with no generic hiding", null, null, null },
|
||||
{ 2091L, null, "The most comprehensive, block-first, and efficient Japanese list for uBlock Origin that removes ads and analytics on desktop, designed for advanced user.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's uBlock Japanese filters", null, null, null },
|
||||
{ 2092L, null, "This can be added to uBlock Japanese filters for enhanced blocking. Use at your own risk.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's uBlock Japanese filters - Paranoid", null, null, null },
|
||||
{ 2093L, null, "Removes share buttons mainly on Japanese sites.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's uBlock Japanese filters - Social", null, null, null },
|
||||
{ 2094L, null, "Removes annoyances mainly on Japanese sites.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's uBlock Japanese filters - Annoyances", null, null, null },
|
||||
{ 2096L, null, "Removes blogroll (feed-style mutual links) on Japanese sites. Included in Yuki's uBlock Japanese filters - Annoyances", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's Blogroll filters", null, null, null },
|
||||
{ 2097L, null, "Removes annoyances which only some user, not everyone, want to remove mainly on Japanese sites.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 8L, "Yuki's uBlock Japanese filters - Annoyances Plus", null, null, null },
|
||||
{ 2098L, null, "Enhances anti anti-adblock capability of AdGuard by generic filters. Works on AdGuard for Windows, AdGuard for Android, AdGuard for Mac, and AdGuard Browser Extensions but not for AdGuard for Safari, AdGuard for iOS, and AdGuard Contents Blocker. This list also mitigates malicious popups often seen on porn sites, pirate sites, and/or short links.", null, null, null, "https://github.com/Yuki2718/adblock", true, "https://github.com/Yuki2718/adblock/issues", 4L, "Anti Anti-adblock Enhancer for AdGuard", null, null, null },
|
||||
{ 2475L, null, "This allowlist fixes incorrect blocking by standard filters such as EasyList, mainly on Japanese websites. It is based largely on Yuki's uBlock Japanese filters.", null, null, null, "https://github.com/hirorpt/filters", true, "https://github.com/hirorpt/filters/issues", 28L, "Konayuki filters", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "maintainers",
|
||||
columns: new[] { "id", "email_address", "is_approved", "name", "twitter_handle", "url" },
|
||||
values: new object[] { 159L, null, true, "hirorpt", null, "https://github.com/hirorpt" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_languages",
|
||||
columns: new[] { "filter_list_id", "language_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2079L, 37L },
|
||||
{ 2089L, 37L },
|
||||
{ 2091L, 73L },
|
||||
{ 2092L, 73L },
|
||||
{ 2093L, 73L },
|
||||
{ 2094L, 73L },
|
||||
{ 2096L, 73L },
|
||||
{ 2097L, 73L },
|
||||
{ 2098L, 37L },
|
||||
{ 2475L, 73L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2079L, 150L },
|
||||
{ 2089L, 150L },
|
||||
{ 2091L, 150L },
|
||||
{ 2092L, 150L },
|
||||
{ 2093L, 150L },
|
||||
{ 2094L, 150L },
|
||||
{ 2096L, 150L },
|
||||
{ 2097L, 150L },
|
||||
{ 2098L, 150L },
|
||||
{ 2475L, 159L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2089L, 4L },
|
||||
{ 2091L, 4L },
|
||||
{ 2092L, 4L },
|
||||
{ 2093L, 4L },
|
||||
{ 2094L, 4L },
|
||||
{ 2096L, 4L },
|
||||
{ 2097L, 4L },
|
||||
{ 2098L, 6L },
|
||||
{ 2475L, 4L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2089L, 31L },
|
||||
{ 2091L, 2L },
|
||||
{ 2092L, 3L },
|
||||
{ 2093L, 4L },
|
||||
{ 2094L, 9L },
|
||||
{ 2096L, 9L },
|
||||
{ 2097L, 9L },
|
||||
{ 2098L, 5L },
|
||||
{ 2475L, 10L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "segment_number", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2079L, 2186L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/adguard/social-plus.txt" },
|
||||
{ 2081L, 2188L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/sabre-filters2.txt" },
|
||||
{ 2082L, 2189L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/blog-parts.txt" },
|
||||
{ 2084L, 2191L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/medium_mode/anti-allowlist.txt" },
|
||||
{ 2089L, 2196L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/no_gen_cosm/phhider.txt" },
|
||||
{ 2091L, 2198L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-filters.txt" },
|
||||
{ 2092L, 2199L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-paranoid.txt" },
|
||||
{ 2093L, 2200L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-social.txt" },
|
||||
{ 2094L, 2201L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-annoyances.txt" },
|
||||
{ 2096L, 2683L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/blogroll.txt" },
|
||||
{ 2097L, 2706L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-annoyances-plus.txt" },
|
||||
{ 2098L, 2707L, (short)1, (short)0, "https://raw.githubusercontent.com/Yuki2718/adblock/master/adguard/anti-antiadb.txt" },
|
||||
{ 2475L, 2684L, (short)1, (short)0, "https://raw.githubusercontent.com/hirorpt/filters/main/fix.txt" }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,530 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3377 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2620L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Tracking, Metrics, some Malware and Fake.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Light DNS Blocklist (Domains)", null, null, null },
|
||||
{ 2621L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Tracking, Metrics, some Malware and Fake.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Light DNS Blocklist (Hosts)", null, null, null },
|
||||
{ 2622L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Tracking, Metrics, some Malware and Fake.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Light DNS Blocklist (Wildcard)", null, null, null },
|
||||
{ 2623L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Pro DNS Blocklist (Domains)", null, null, null },
|
||||
{ 2624L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Pro DNS Blocklist (Hosts)", null, null, null },
|
||||
{ 2625L, null, "Cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Pro DNS Blocklist (Wildcard)", null, null, null },
|
||||
{ 2626L, null, "Aggressive cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Pro++ DNS Blocklist (Domains)", null, null, null },
|
||||
{ 2627L, null, "Aggressive cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Pro++ DNS Blocklist (Hosts)", null, null, null },
|
||||
{ 2628L, null, "Aggressive cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking, Metrics, Telemetry, Phishing, Malware, Scam, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Pro++ DNS Blocklist (Wildcard)", null, null, null },
|
||||
{ 2629L, null, "Strictly cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking (+Referral), Metrics, Telemetry, Phishing, Malware, Scam, Free Hoster, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Ultimate DNS Blocklist (Domains)", null, null, null },
|
||||
{ 2630L, null, "Strictly cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking (+Referral), Metrics, Telemetry, Phishing, Malware, Scam, Free Hoster, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Ultimate DNS Blocklist (Hosts)", null, null, null },
|
||||
{ 2631L, null, "Strictly cleans the Internet and protects your privacy! Blocks Ads, Affiliate, Tracking (+Referral), Metrics, Telemetry, Phishing, Malware, Scam, Free Hoster, Fake, Coins and other Crap.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Multi Ultimate DNS Blocklist (Wildcard)", null, null, null },
|
||||
{ 2632L, null, "Increases security significantly! Blocks Malware, Crypto, Coin, Spam, Scam and Phishing.", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Threat Intelligence Feeds DNS Blocklist (Wildcard)", null, null, null },
|
||||
{ 2633L, null, "My personal blocklist, an extension for known blocklists. Blocks ads, trackers, native device trackers, badware and more. Not intended to be used as a standalone blocklist, it serves as a addition for other blocklists!", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Personal DNS Blocklist (Domains)", null, null, null },
|
||||
{ 2634L, null, "My personal blocklist, an extension for known blocklists. Blocks ads, trackers, native device trackers, badware and more. Not intended to be used as a standalone blocklist, it serves as a addition for other blocklists!", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Personal DNS Blocklist (Hosts)", null, null, null },
|
||||
{ 2635L, null, "My personal blocklist, an extension for known blocklists. Blocks ads, trackers, native device trackers, badware and more. Not intended to be used as a standalone blocklist, it serves as a addition for other blocklists!", null, null, null, "https://github.com/hagezi/dns-blocklists", true, "https://github.com/hagezi/dns-blocklists/issues", 2L, "HaGeZi's Personal DNS Blocklist (Wildcard)", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2620L, 182L },
|
||||
{ 2621L, 182L },
|
||||
{ 2622L, 182L },
|
||||
{ 2623L, 182L },
|
||||
{ 2624L, 182L },
|
||||
{ 2625L, 182L },
|
||||
{ 2626L, 182L },
|
||||
{ 2627L, 182L },
|
||||
{ 2628L, 182L },
|
||||
{ 2629L, 182L },
|
||||
{ 2630L, 182L },
|
||||
{ 2631L, 182L },
|
||||
{ 2632L, 182L },
|
||||
{ 2633L, 182L },
|
||||
{ 2634L, 182L },
|
||||
{ 2635L, 182L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2620L, 2L },
|
||||
{ 2621L, 1L },
|
||||
{ 2622L, 16L },
|
||||
{ 2623L, 2L },
|
||||
{ 2624L, 1L },
|
||||
{ 2625L, 16L },
|
||||
{ 2626L, 2L },
|
||||
{ 2627L, 1L },
|
||||
{ 2628L, 16L },
|
||||
{ 2629L, 2L },
|
||||
{ 2630L, 1L },
|
||||
{ 2631L, 16L },
|
||||
{ 2632L, 16L },
|
||||
{ 2633L, 2L },
|
||||
{ 2634L, 1L },
|
||||
{ 2635L, 16L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2620L, 3L },
|
||||
{ 2621L, 3L },
|
||||
{ 2622L, 3L },
|
||||
{ 2623L, 3L },
|
||||
{ 2624L, 3L },
|
||||
{ 2625L, 3L },
|
||||
{ 2626L, 3L },
|
||||
{ 2627L, 3L },
|
||||
{ 2628L, 3L },
|
||||
{ 2629L, 3L },
|
||||
{ 2630L, 3L },
|
||||
{ 2631L, 3L },
|
||||
{ 2632L, 6L },
|
||||
{ 2633L, 3L },
|
||||
{ 2634L, 3L },
|
||||
{ 2635L, 3L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2620L, 2886L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/light.txt" },
|
||||
{ 2621L, 2887L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/light.txt" },
|
||||
{ 2622L, 2888L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/light.txt" },
|
||||
{ 2623L, 2889L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/pro.txt" },
|
||||
{ 2624L, 2890L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/pro.txt" },
|
||||
{ 2625L, 2891L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/pro.txt" },
|
||||
{ 2626L, 2892L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/pro.plus.txt" },
|
||||
{ 2627L, 2893L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/pro.plus.txt" },
|
||||
{ 2628L, 2894L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/pro.plus.txt" },
|
||||
{ 2629L, 2895L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/ultimate.txt" },
|
||||
{ 2630L, 2896L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/ultimate.txt" },
|
||||
{ 2631L, 2897L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/ultimate.txt" },
|
||||
{ 2632L, 2898L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/tif.txt" },
|
||||
{ 2633L, 2899L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/domains/personal.txt" },
|
||||
{ 2634L, 2900L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/personal.txt" },
|
||||
{ 2635L, 2901L, (short)1, "https://raw.githubusercontent.com/hagezi/dns-blocklists/main/wildcard/personal.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2620L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2621L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2622L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2623L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2624L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2625L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2626L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2627L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2628L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2629L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2630L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2631L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2632L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2633L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2634L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2635L, 182L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2620L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2621L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2622L, 16L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2623L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2624L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2625L, 16L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2626L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2627L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2628L, 16L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2629L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2630L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2631L, 16L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2632L, 16L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2633L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2634L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2635L, 16L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2620L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2621L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2622L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2623L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2624L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2625L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2626L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2627L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2628L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2629L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2630L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2631L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2632L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2633L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2634L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2635L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2620L, 2886L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2621L, 2887L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2622L, 2888L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2623L, 2889L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2624L, 2890L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2625L, 2891L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2626L, 2892L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2627L, 2893L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2628L, 2894L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2629L, 2895L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2630L, 2896L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2631L, 2897L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2632L, 2898L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2633L, 2899L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2634L, 2900L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2635L, 2901L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2620L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2621L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2622L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2623L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2624L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2625L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2626L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2627L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2628L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2629L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2630L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2631L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2632L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2633L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2634L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2635L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,227 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3389 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2802L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2803L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2804L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2805L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2807L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2808L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2732L },
|
||||
column: "url",
|
||||
value: "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2798L },
|
||||
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, 2799L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/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://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, 2801L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutchCDN/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2806L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)2, "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/dynamic rules" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2809L },
|
||||
column: "primariness",
|
||||
value: (short)2);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2810L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)3, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2811L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)4, "https://combinatronics.io/BPower0036/AdBlockfilters/main/my filters" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2471L, 2802L, (short)7, "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutchCDN@main/EasyDutch.txt" },
|
||||
{ 2471L, 2803L, (short)8, "https://combinatronics.io/EasyDutch-uBO/EasyDutchCDN/main/EasyDutch.txt" },
|
||||
{ 2471L, 2804L, (short)9, "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/EasyDutch.txt" },
|
||||
{ 2471L, 2805L, (short)10, "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/EasyDutch.txt" },
|
||||
{ 2520L, 2807L, (short)3, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules" },
|
||||
{ 2520L, 2808L, (short)4, "https://combinatronics.io/BPower0036/AdBlockfilters/main/dynamic rules" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2802L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2803L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2804L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2805L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2807L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2808L });
|
||||
|
||||
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");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2806L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)6, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2809L },
|
||||
column: "primariness",
|
||||
value: (short)4);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2810L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)5, "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/my filters" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2811L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)6, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "segment_number", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2520L, 2802L, (short)2, (short)0, "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/dynamic rules" },
|
||||
{ 2520L, 2803L, (short)3, (short)0, "https://combinatronics.io/BPower0036/AdBlockfilters/main/dynamic rules" },
|
||||
{ 2520L, 2804L, (short)4, (short)0, "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/dynamic rules" },
|
||||
{ 2520L, 2805L, (short)5, (short)0, "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/dynamic rules" },
|
||||
{ 2521L, 2807L, (short)2, (short)0, "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/my filters" },
|
||||
{ 2521L, 2808L, (short)3, (short)0, "https://combinatronics.io/BPower0036/AdBlockfilters/main/my filters" }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,208 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _3391 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2636L, null, "Have you browsed through image search engines looking for transparent images, but all you can find are ones with fake transparency and grey chessboards in the background? Then this list is for you.", "https://sproutsluckycorner.wordpress.com/2017/11/14/my-work-and-contact-resume/#donations", "imreeil42@gmail.com", null, "https://github.com/DandelionSprout/adfilt", true, "https://github.com/DandelionSprout/adfilt/issues", 35L, "Anti-'Fake transparent images' List", null, null, null },
|
||||
{ 2637L, null, "This list aims to combat some sites' attempts to make it impossible to copy text, right-click on pages, open the F12 menu, create fake loading times, or who otherwise obstruct people from features that they should be perfectly in their rights to have access to.", "https://sproutsluckycorner.wordpress.com/2017/11/14/my-work-and-contact-resume/#donations", "imreeil42@gmail.com", null, "https://github.com/DandelionSprout/adfilt", true, "https://github.com/DandelionSprout/adfilt/issues", 35L, "Anti-'Functionality removal' List", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2638L, null, "Say goodbye to additional annoyances like floating videos, newsletter pop-ups, and other distractions. Using entries that include '#$#' requires Adblock Plus and an Adblock Plus Premium subscription.", null, null, null, "https://accounts.adblockplus.org/premium", true, null, "Premium - Distraction Control", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2639L, null, null, "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WMGE9MAGGGMHW", "easylist@protonmail.com", null, "https://easylist.to/", true, null, 4L, "Fanboy Notifications Blocking List (uBlock Origin)", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2636L, 22L },
|
||||
{ 2637L, 22L },
|
||||
{ 2638L, 6L },
|
||||
{ 2639L, 14L },
|
||||
{ 2639L, 22L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2636L, 4L },
|
||||
{ 2637L, 3L },
|
||||
{ 2638L, 2L },
|
||||
{ 2638L, 3L },
|
||||
{ 2638L, 38L },
|
||||
{ 2639L, 4L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2636L, 15L },
|
||||
{ 2637L, 15L },
|
||||
{ 2638L, 9L },
|
||||
{ 2639L, 32L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2636L, 2902L, (short)1, "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiFakeTransparentImagesList.txt" },
|
||||
{ 2636L, 2903L, (short)2, "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/AntiFakeTransparentImagesList.txt" },
|
||||
{ 2637L, 2904L, (short)1, "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiFunctionalityRemovalList.txt" },
|
||||
{ 2637L, 2905L, (short)2, "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/AntiFunctionalityRemovalList.txt" },
|
||||
{ 2638L, 2906L, (short)1, "https://easylist-downloads.adblockplus.org/adblock_premium.txt" },
|
||||
{ 2639L, 2907L, (short)1, "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Other domains versions/FanboyNotifications-LoadableInUBO.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2636L, 22L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2637L, 22L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2638L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2639L, 14L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2639L, 22L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2636L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2637L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2638L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2638L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2638L, 38L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2639L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2636L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2637L, 15L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2638L, 9L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2639L, 32L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2636L, 2902L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2636L, 2903L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2637L, 2904L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2637L, 2905L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2638L, 2906L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2639L, 2907L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2636L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2637L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2638L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2639L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,74 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _3435 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2290L, 2435L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/liamengland1/miscfilters/master/antipaywall.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2291L, 2436L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/liamengland1/mischosts/master/blacklist");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2290L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/liamengland1/miscfilters", "https://github.com/liamengland1/miscfilters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2291L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/liamengland1/mischosts", "https://github.com/liamengland1/mischosts/issues" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2290L, 2435L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/llacb47/miscfilters/master/antipaywall.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2291L, 2436L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/llacb47/mischosts/master/blacklist");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2290L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/llacb47/miscfilters", "https://github.com/llacb47/miscfilters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2291L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/llacb47/mischosts", "https://github.com/llacb47/mischosts/issues" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,79 +0,0 @@
|
|||
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 _3440 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2639L, 3L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2640L, null, "Steven Universe is a cartoon about a Mary Sue boy tagging along with racist xenophobic aliens to fight other racist xenophobic aliens for no good reason, all of whom are also bad parental figures. Here's a list to get a breather break from it.", "https://sproutsluckycorner.wordpress.com/2017/11/14/my-work-and-contact-resume/#donations", "imreeil42@gmail.com", null, "https://github.com/DandelionSprout/adfilt", true, "https://github.com/DandelionSprout/adfilt/issues", 35L, "Anti-'Steven Universe' List", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[] { 2640L, 22L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2640L, 30L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2640L, 2908L, (short)1, "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiStevenUniverseList.txt" },
|
||||
{ 2640L, 2909L, (short)2, "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/AntiStevenUniverseList.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2640L, 22L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2639L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2640L, 30L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2640L, 2908L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2640L, 2909L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2640L);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,196 +0,0 @@
|
|||
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 _3448 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2152L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2152L, 36L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2316L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2316L, 36L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2152L, 54L },
|
||||
{ 2316L, 54L }
|
||||
});
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2317L, 2464L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/combined-final.cidr");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1523L,
|
||||
column: "description",
|
||||
value: "This is a comprehensive hosts file (IPv4) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1524L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is an IP block list (DAT-format) suitable for use in torrent clients like Halite for Windows, or qBitTorrent and Transmission under any OS. The list is merged from BlueTack Web Attacks, Hijacks, and Bad Peers, then deduped and sorted. The list adheres to ipfilter.dat conventions, and will come in especially handy on public trackers.", "Combined Privacy Block Lists IP Filter (DAT-format, IPv4)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1525L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is an IP block list (P2P-format) suitable for use in torrent clients like qBitTorrent and Transmission under any OS. The list is merged from BlueTack Web Attacks, Hijacks, and Bad Peers, then deduped and sorted. The list adheres to ipfilter.dat conventions, and will come in especially handy on public trackers.", "Combined Privacy Block Lists IP Filter (P2P-format, IPv4)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2151L,
|
||||
column: "description",
|
||||
value: "This is a comprehensive hosts file (IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2152L,
|
||||
column: "description",
|
||||
value: "This is a comprehensive hosts file (IPv4 + IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2315L,
|
||||
column: "description",
|
||||
value: "This is a comprehensive hosts file (IPv4, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2316L,
|
||||
column: "description",
|
||||
value: "This is a comprehensive hosts file (IPv4 + IPv6, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2317L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a CIDR-format IP block list suitable for use with the IPSet utility, Linux-based routers, a variety of firewalls, older P2P clients and so on. Basically, it works with anything which accepts CIDR lists. It is compiled from the ad-blocking IP list provided by PGL Yoyo, a collection of smaller lists from BlockList.de, the FeodoTracker abuse list, high confidence Emerging Threats lists, along with DShield's Top Twenty, SpamHaus Drop + eDrop, and a conservative list of IPv4 bogons. It also incorporates a small list of IPs I've observed malicious activity from, via running public Shoutcast and Icecast servers for extended periods of time. It is likewise deduped + sorted (with overlapping ranges resolved).", "Combined Privacy Block Lists CIDR (CIDR, IPv4)" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2152L, 54L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2316L, 54L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2152L, 1L },
|
||||
{ 2152L, 36L },
|
||||
{ 2316L, 1L },
|
||||
{ 2316L, 36L }
|
||||
});
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2317L, 2464L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/NoFormatting/combined-flat.cidr");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1523L,
|
||||
column: "description",
|
||||
value: "This is a comprehensive hosts file (IPv4) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, Energized and EasyList, along with some supplementary entries for increased protection against telemetry, and additions for mobile platforms. It is then merged, sorted and deduped. This list is compatible with all operating systems that make use of a hosts file (obviously this includes Windows, OS X, GNU/Linux and more). It works great with mobile VPN ad-blocking solutions too.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1524L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a DAT-format IP block list suitable for use in torrent clients like Halite for Windows. The list is merged from BlueTack levels 1 and 2, then deduped and sorted. This will come in especially handy on public trackers.", "Combined Privacy Block Lists IPs DAT-format" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1525L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a P2P-format IP block list suitable for use in torrent clients like qBitTorrent and Transmission under any OS. The list is merged from BlueTack levels 1 and 2, then deduped and sorted. This will also come in especially handy on public trackers.", "Combined Privacy Block Lists IPs P2P-format" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2151L,
|
||||
column: "description",
|
||||
value: "This is a comprehensive hosts file (IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, Energized and EasyList, along with some supplementary entries for increased protection against telemetry, and additions for mobile platforms. It is then merged, sorted and deduped. This list is compatible with all operating systems that make use of a hosts file (obviously this includes Windows, OS X, GNU/Linux and more). It works great with mobile VPN ad-blocking solutions too.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2152L,
|
||||
column: "description",
|
||||
value: "This is a comprehensive hosts file (IPv4 + IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, Energized and EasyList, along with some supplementary entries for increased protection against telemetry, and additions for mobile platforms. It is then merged, sorted and deduped. This list is compatible with all operating systems that make use of a hosts file (obviously this includes Windows, OS X, GNU/Linux and more). It works great with mobile VPN ad-blocking solutions too.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2315L,
|
||||
column: "description",
|
||||
value: "This is a hosts file (IPv4) specifically tailored for Windows users, wherein the list is arranged to have seven hosts per line, thus saving space, and preventing the lag that some users experience when they have a large hosts file on that platform. It is culled from the same sources as the other Combined Privacy Block Lists hosts files.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2316L,
|
||||
column: "description",
|
||||
value: "This is a hosts file (IPv4 + IPv6) specifically tailored for Windows users, wherein the list is arranged to have seven hosts per line, thus saving space, and preventing the lag that some users experience when they have a large hosts file on that platform. It is culled from the same sources as the other Combined Privacy Block Lists hosts files.");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2317L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a CIDR-format IP block list suitable for routers, older P2P clients and so on, which accept CIDR lists. It is compiled from the same sources as the other IP block lists from Combined Privacy Block Lists, and is likewise deduped + sorted.", "Combined Privacy Block Lists Optimized Windows HOSTS (CIDR)" });
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,130 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _3452 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1523L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv4) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Hosts (IPv4)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1524L,
|
||||
column: "name",
|
||||
value: "CPBL IP Filter (DAT-format, IPv4)");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1525L,
|
||||
column: "name",
|
||||
value: "CPBL IP Filter (P2P-format, IPv4)");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2151L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Hosts (IPv6)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2152L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv4 + IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Hosts (IPv4 + IPv6)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2315L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv4, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Optimized Windows Hosts (IPv4)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2316L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv4 + IPv6, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Optimized Windows Hosts (IPv4 + IPv6)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2317L,
|
||||
column: "name",
|
||||
value: "CPBL CIDR (IPv4)");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1523L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv4) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists HOSTS (IPv4)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1524L,
|
||||
column: "name",
|
||||
value: "Combined Privacy Block Lists IP Filter (DAT-format, IPv4)");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 1525L,
|
||||
column: "name",
|
||||
value: "Combined Privacy Block Lists IP Filter (P2P-format, IPv4)");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2151L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists HOSTS (IPv6)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2152L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv4 + IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists HOSTS (IPv4 + IPv6)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2315L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv4, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists Optimized Windows HOSTS (IPv4)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2316L,
|
||||
columns: new[] { "description", "name" },
|
||||
values: new object[] { "This is a comprehensive hosts file (IPv4 + IPv6, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists Optimized Windows HOSTS (IPv4 + IPv6)" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2317L,
|
||||
column: "name",
|
||||
value: "Combined Privacy Block Lists CIDR (CIDR, IPv4)");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,329 +0,0 @@
|
|||
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 _3456 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2640L, 3L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[] { 2317L, 6L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "license_id", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2641L, null, "This is a filter subscription for AdBlock Plus, uBlock Origin, AdGuard and other similar products, derived from my main hosts file, with some mostly cosmetic filters to remove overlooked web annoyances. It is much smaller than my hosts file while blocking the same amount of content and more (thanks to wildcard matching and flexibile ABP syntax). It is quite effective, and an especially good choice for those who do not have access to the hosts file or configurable DNS-based blocking options. I recommend using this list with AdGuard's Base + Tracking + Annoyances filters, or EasyList + EasyPrivacy + FanBoy's Annoyance filters, due to their additional element hiding and exception rule-sets.", null, null, null, "https://github.com/bongochong/CombinedPrivacyBlockLists", true, null, 44L, "CPBL AdBlock", null, null, null },
|
||||
{ 2642L, null, "This is a dnsmasq blacklist that is derived from my main hosts file. Like any decent dnsmasq blacklist, it takes advantage of tld-compression / fqdn-optimization, resulting in a significantly reduced size.", null, null, null, "https://github.com/bongochong/CombinedPrivacyBlockLists", true, null, 44L, "CPBL DNSMasq", null, null, null },
|
||||
{ 2643L, null, "This is a wildcard domain blacklist (*.some.domain) derived from my main hosts file. It benefits from tld-compression / fqdn-optimization, resulting in a significantly reduced size.", null, null, null, "https://github.com/bongochong/CombinedPrivacyBlockLists", true, null, 44L, "CPBL Wildcards", null, null, null },
|
||||
{ 2644L, null, "This is a plain domain blacklist derived from my main hosts file. That's it.", null, null, null, "https://github.com/bongochong/CombinedPrivacyBlockLists", true, null, 44L, "CPBL Domains", null, null, null },
|
||||
{ 2645L, null, "This is an fqdn-optimized / tld-compressed version of the plain domain blacklist derived from my main hosts file. It is similar to my wildcard domains blacklist, but without comments ('#') or syntax ('*.') additions.", null, null, null, "https://github.com/bongochong/CombinedPrivacyBlockLists", true, null, 44L, "CPBL Compressed Domains", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 126L,
|
||||
column: "name",
|
||||
value: "Chon Bongo");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_maintainers",
|
||||
columns: new[] { "filter_list_id", "maintainer_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2641L, 126L },
|
||||
{ 2642L, 126L },
|
||||
{ 2643L, 126L },
|
||||
{ 2644L, 126L },
|
||||
{ 2645L, 126L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2641L, 3L },
|
||||
{ 2642L, 20L },
|
||||
{ 2643L, 16L },
|
||||
{ 2644L, 2L },
|
||||
{ 2645L, 2L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_tags",
|
||||
columns: new[] { "filter_list_id", "tag_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2641L, 2L },
|
||||
{ 2641L, 3L },
|
||||
{ 2641L, 6L },
|
||||
{ 2641L, 7L },
|
||||
{ 2642L, 2L },
|
||||
{ 2642L, 3L },
|
||||
{ 2642L, 6L },
|
||||
{ 2642L, 7L },
|
||||
{ 2643L, 2L },
|
||||
{ 2643L, 3L },
|
||||
{ 2643L, 6L },
|
||||
{ 2643L, 7L },
|
||||
{ 2644L, 2L },
|
||||
{ 2644L, 3L },
|
||||
{ 2644L, 6L },
|
||||
{ 2644L, 7L },
|
||||
{ 2645L, 2L },
|
||||
{ 2645L, 3L },
|
||||
{ 2645L, 6L },
|
||||
{ 2645L, 7L }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2641L, 2910L, (short)1, "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/cpbl-abp-list.txt" },
|
||||
{ 2642L, 2911L, (short)1, "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/NoFormatting/cpbl-dnsmasq.txt" },
|
||||
{ 2643L, 2912L, (short)1, "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/NoFormatting/cpbl-wildcard-blacklist.txt" },
|
||||
{ 2644L, 2913L, (short)1, "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/NoFormatting/BlacklistedDomains.txt" },
|
||||
{ 2645L, 2914L, (short)1, "https://raw.githubusercontent.com/bongochong/CombinedPrivacyBlockLists/master/NoFormatting/cpbl-ctld.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2641L, 126L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2642L, 126L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2643L, 126L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2644L, 126L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_maintainers",
|
||||
keyColumns: new[] { "filter_list_id", "maintainer_id" },
|
||||
keyValues: new object[] { 2645L, 126L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2640L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2641L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2642L, 20L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2643L, 16L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2644L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2645L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2317L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2641L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2641L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2641L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2641L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2642L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2642L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2642L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2642L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2643L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2643L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2643L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2643L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2644L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2644L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2644L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2644L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2645L, 2L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2645L, 3L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2645L, 6L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_tags",
|
||||
keyColumns: new[] { "filter_list_id", "tag_id" },
|
||||
keyValues: new object[] { 2645L, 7L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2641L, 2910L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2642L, 2911L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2643L, 2912L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2644L, 2913L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2645L, 2914L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2641L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2642L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2643L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2644L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2645L);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 126L,
|
||||
column: "name",
|
||||
value: "Chongo Bong");
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue