mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2605
This commit is contained in:
parent
3819e47b82
commit
c681876883
3 changed files with 84341 additions and 6 deletions
84318
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20211021215844_2605.Designer.cs
generated
Normal file
84318
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20211021215844_2605.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,23 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2605 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Maintainers",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "Maintainers",
|
||||
columns: new[] { "Id", "EmailAddress", "Name", "TwitterHandle", "Url" },
|
||||
values: new object[] { 2, null, "AppliliZ", "280blocker", null });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -80755,12 +80755,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
b.ToTable("Maintainers");
|
||||
|
||||
b.HasData(
|
||||
new
|
||||
{
|
||||
Id = 2,
|
||||
Name = "AppliliZ",
|
||||
TwitterHandle = "280blocker"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 3,
|
||||
|
|
|
|||
Loading…
Reference in a new issue