#435 database migration
This commit is contained in:
parent
cb3125c153
commit
6a8350b757
5675
RMuseum/Migrations/20240421125807_MatchPer.Designer.cs
generated
Normal file
5675
RMuseum/Migrations/20240421125807_MatchPer.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
29
RMuseum/Migrations/20240421125807_MatchPer.cs
Normal file
29
RMuseum/Migrations/20240421125807_MatchPer.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace RMuseum.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class MatchPer : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "MatchPercent",
|
||||
table: "PinterestLinks",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "MatchPercent",
|
||||
table: "PinterestLinks");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2834,6 +2834,9 @@ namespace RMuseum.Migrations
|
||||
b.Property<int>("LinkType")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("MatchPercent")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("NaskbanLinkId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user