feat(data): migrate PR #3177

This commit is contained in:
Azure Pipelines EF Migration Bot 2022-07-12 22:29:01 +00:00 committed by Collin M. Barrett
parent 4270df21d6
commit ed534951c7
3 changed files with 89465 additions and 14 deletions

View file

@ -0,0 +1,25 @@
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" });
}
}
}

View file

@ -3378,20 +3378,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
SubmissionUrl = "https://rickrolldb.com/"
},
new
{
Id = 383L,
ChatUrl = "https://discordapp.com/invite/013MqTM1p1qm52VcZ",
Description = "Removes uncovered AD, AD frames, and adblock warnings from specific popular websites",
DonateUrl = "https://austinhuang.me/donate",
EmailAddress = "im@austinhuang.me",
HomeUrl = "https://austinhuang.me/0131-block-list/",
IsApproved = true,
IssuesUrl = "https://github.com/austinhuang0131/0131-block-list/issues",
LicenseId = 8L,
Name = "0131 Block List",
SubmissionUrl = "https://austinhuang.me/contact"
},
new
{
Id = 385L,
Description = "Are you tired of having to use Paint to remove potentially sensitive usernames, each and every time you're making a compilation of social media posts? Say no more! This list will remove posters' usernames from the biggest compilation sources, so that you can simply take a screencap and add it directly into your video/timeline!",