Files
server/util/PostgresMigrations/Migrations/20251112155845_AddMaxStorageGbIncreasedColumn.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
987 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Bit.PostgresMigrations.Migrations;
/// <inheritdoc />
public partial class AddMaxStorageGbIncreasedColumn : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<short>(
name: "MaxStorageGbIncreased",
table: "User",
type: "smallint",
nullable: true);
migrationBuilder.AddColumn<short>(
name: "MaxStorageGbIncreased",
table: "Organization",
type: "smallint",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "MaxStorageGbIncreased",
table: "User");
migrationBuilder.DropColumn(
name: "MaxStorageGbIncreased",
table: "Organization");
}
}