using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Bitget_Server.Migrations { /// public partial class init1 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "PushAlarms", columns: table => new { Id = table.Column(type: "int", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), AlarmTime = table.Column(type: "datetime2", nullable: false), Title = table.Column(type: "nvarchar(max)", nullable: false), Contents = table.Column(type: "nvarchar(max)", nullable: false) }, constraints: table => { table.PrimaryKey("PK_PushAlarms", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "PushAlarms"); } } }