2022-07-14 15:58:48 -04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
|
|
namespace Bit.PostgresMigrations.Migrations;
|
2022-08-29 16:06:55 -04:00
|
|
|
|
|
2022-07-14 15:58:48 -04:00
|
|
|
|
public partial class UseScimFlag : Migration
|
|
|
|
|
|
{
|
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
|
|
|
|
name: "UseScim",
|
|
|
|
|
|
table: "Organization",
|
|
|
|
|
|
type: "boolean",
|
|
|
|
|
|
nullable: false,
|
|
|
|
|
|
defaultValue: false);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
migrationBuilder.DropColumn(
|
|
|
|
|
|
name: "UseScim",
|
|
|
|
|
|
table: "Organization");
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|