28 lines
750 B
C#
28 lines
750 B
C#
![]() |
using System;
|
|||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace YD_WeChatApplet.Api.Migrations
|
|||
|
{
|
|||
|
public partial class init008 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<Guid>(
|
|||
|
name: "RelevanceId",
|
|||
|
table: "User",
|
|||
|
type: "uniqueidentifier",
|
|||
|
nullable: false,
|
|||
|
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "RelevanceId",
|
|||
|
table: "User");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|