asg_backend/asg_form/Migrations/20231210023816_friend3.cs
杨毅 7b909de91c Revert "pg1"
This reverts commit f564205e29cd2ef046fd58a85403d3959c7ecff4.
2024-10-02 03:02:23 +08:00

30 lines
739 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace asg_form.Migrations
{
/// <inheritdoc />
public partial class friend3 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "degree",
table: "F_Friend",
type: "int",
nullable: false,
defaultValue: 0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "degree",
table: "F_Friend");
}
}
}