Files
server/util/PostgresMigrations/Migrations/20260410132659_AddExemptFromBillingAutomationToOrganization.cs
Alex Morask 901e86a93b [PM-31780] Add exempt from billing automation toggle (#7438)
* feat(admin): add exempt from billing automation toggle for organizations

* style: apply file-scoped namespaces to EF migration files

* chore: rename migration to avoid sequence collision with 2026-04-10_00

* fix(sql): refresh Organization-dependent views after column addition

* fix(sql): rename migration to resolve ordering conflict
2026-04-15 07:50:33 -05:00

29 lines
763 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Bit.PostgresMigrations.Migrations;
/// <inheritdoc />
public partial class AddExemptFromBillingAutomationToOrganization : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "ExemptFromBillingAutomation",
table: "Organization",
type: "boolean",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ExemptFromBillingAutomation",
table: "Organization");
}
}