using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace PowderCoating.Infrastructure.Migrations { /// public partial class AddCompanyFeatureOverrides : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "AccountingOverride", table: "Companies", type: "bit", nullable: true); migrationBuilder.AddColumn( name: "OnlinePaymentsOverride", table: "Companies", type: "bit", nullable: true); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 4, 12, 17, 41, 53, 14, DateTimeKind.Utc).AddTicks(2151)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 4, 12, 17, 41, 53, 14, DateTimeKind.Utc).AddTicks(2159)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 4, 12, 17, 41, 53, 14, DateTimeKind.Utc).AddTicks(2161)); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "AccountingOverride", table: "Companies"); migrationBuilder.DropColumn( name: "OnlinePaymentsOverride", table: "Companies"); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 1, column: "CreatedAt", value: new DateTime(2026, 4, 12, 0, 52, 25, 307, DateTimeKind.Utc).AddTicks(1531)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 2, column: "CreatedAt", value: new DateTime(2026, 4, 12, 0, 52, 25, 307, DateTimeKind.Utc).AddTicks(1537)); migrationBuilder.UpdateData( table: "PricingTiers", keyColumn: "Id", keyValue: 3, column: "CreatedAt", value: new DateTime(2026, 4, 12, 0, 52, 25, 307, DateTimeKind.Utc).AddTicks(1538)); } } }