using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Bit.MySqlMigrations.Migrations; public partial class AddSecretsManagerBillingFieldToOrganization : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "MaxAutoscaleSmSeats", table: "Organization", type: "int", nullable: true); migrationBuilder.AddColumn( name: "MaxAutoscaleSmServiceAccounts", table: "Organization", type: "int", nullable: true); migrationBuilder.AddColumn( name: "SmSeats", table: "Organization", type: "int", nullable: true); migrationBuilder.AddColumn( name: "SmServiceAccounts", table: "Organization", type: "int", nullable: true); migrationBuilder.AddColumn( name: "UsePasswordManager", table: "Organization", type: "tinyint(1)", nullable: false, defaultValue: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "MaxAutoscaleSmSeats", table: "Organization"); migrationBuilder.DropColumn( name: "MaxAutoscaleSmServiceAccounts", table: "Organization"); migrationBuilder.DropColumn( name: "SmSeats", table: "Organization"); migrationBuilder.DropColumn( name: "SmServiceAccounts", table: "Organization"); migrationBuilder.DropColumn( name: "UsePasswordManager", table: "Organization"); } }