1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 18:23:44 +00:00

Redoing migration

This commit is contained in:
cd-bitwarden
2025-11-26 11:55:52 -05:00
parent b8a14c948a
commit 17fad604cd
10 changed files with 495 additions and 27 deletions

View File

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