using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace asg_form.Migrations
{
///
public partial class friend1 : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "F_Friend",
columns: table => new
{
id = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
headName = table.Column(type: "nvarchar(max)", nullable: false),
comMsg = table.Column(type: "nvarchar(max)", nullable: false),
headTel = table.Column(type: "nvarchar(max)", nullable: false),
account = table.Column(type: "nvarchar(max)", nullable: false),
comTime = table.Column(type: "datetime2", nullable: false),
comType = table.Column(type: "nvarchar(max)", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_F_Friend", x => x.id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "F_Friend");
}
}
}