1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-27 22:41:22 +01:00
bitwarden-server/util/SqliteMigrations/Migrations/20250103181053_DropLimitCollectionCreationDeletion.cs
2025-01-03 13:11:19 -05:00

29 lines
760 B
C#

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