using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FlexJobApi.Database.Migrations.Migrations
{
///
public partial class UpdateUser0808 : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Age",
table: "User",
type: "int",
nullable: true);
migrationBuilder.AddColumn(
name: "Gender",
table: "User",
type: "int",
nullable: true);
migrationBuilder.AddColumn(
name: "Identity",
table: "User",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.UpdateData(
table: "User",
keyColumn: "Id",
keyValue: new Guid("11111111-1111-1111-1111-111111111111"),
columns: new[] { "Age", "Gender", "Identity" },
values: new object[] { null, null, null });
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Age",
table: "User");
migrationBuilder.DropColumn(
name: "Gender",
table: "User");
migrationBuilder.DropColumn(
name: "Identity",
table: "User");
}
}
}