using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PowderCoating.Infrastructure.Migrations { /// public partial class AddApproximateAreaToCatalogItem : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ApproximateArea", table: "CatalogItems", type: "decimal(18,2)", nullable: true); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 2, 18, 2, 34, 9, 378, DateTimeKind.Utc).AddTicks(8277)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 2, 18, 2, 34, 9, 378, DateTimeKind.Utc).AddTicks(8282)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 2, 18, 2, 34, 9, 378, DateTimeKind.Utc).AddTicks(8284)); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ApproximateArea", table: "CatalogItems"); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 2, 18, 1, 28, 57, 605, DateTimeKind.Utc).AddTicks(8224)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 2, 18, 1, 28, 57, 605, DateTimeKind.Utc).AddTicks(8229)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 2, 18, 1, 28, 57, 605, DateTimeKind.Utc).AddTicks(8231)); } } }