using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PowderCoating.Infrastructure.Migrations { /// public partial class AddStarterPlanAndQuoteLimit : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "MaxQuotes", table: "SubscriptionPlanConfigs", type: "int", nullable: false, defaultValue: 0); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 2, 24, 3, 59, 30, 739, DateTimeKind.Utc).AddTicks(7881)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 2, 24, 3, 59, 30, 739, DateTimeKind.Utc).AddTicks(7890)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 2, 24, 3, 59, 30, 739, DateTimeKind.Utc).AddTicks(7891)); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "MaxQuotes", table: "SubscriptionPlanConfigs"); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 2, 24, 1, 51, 32, 257, DateTimeKind.Utc).AddTicks(7721)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 2, 24, 1, 51, 32, 257, DateTimeKind.Utc).AddTicks(7726)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 2, 24, 1, 51, 32, 257, DateTimeKind.Utc).AddTicks(7728)); } } }