using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace wtmProject.DataAccess.Migrations { public partial class hmr2025101401 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "WTM_BILLING_LIST_YEAR", columns: table => new { ID = table.Column(type: "uniqueidentifier", nullable: false), TenantCode = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), YEAR = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), TargetAmount = table.Column(type: "decimal(18,2)", nullable: true), CreateTime = table.Column(type: "datetime2", nullable: true), CreateBy = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true), UpdateTime = table.Column(type: "datetime2", nullable: true), UpdateBy = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true) }, constraints: table => { table.PrimaryKey("PK_WTM_BILLING_LIST_YEAR", x => x.ID); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "WTM_BILLING_LIST_YEAR"); } } }