using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace asg_form.Migrations { /// public partial class bloga : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "F_blog", columns: table => new { ID = table.Column(type: "bigint", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), title = table.Column(type: "nvarchar(max)", nullable: false), msg = table.Column(type: "nvarchar(max)", nullable: false), formuser = table.Column(type: "nvarchar(max)", nullable: false), pushtime = table.Column(type: "datetime2", nullable: false) }, constraints: table => { table.PrimaryKey("PK_F_blog", x => x.ID); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "F_blog"); } } }