using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Bit.PostgresMigrations.Migrations;
///
public partial class _20250609_00_AddMemberAccessReportStoreProceduresql : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "OrganizationMemberBaseDetails",
columns: table => new
{
UserGuid = table.Column(type: "uuid", nullable: true),
UserName = table.Column(type: "text", nullable: true),
Email = table.Column(type: "text", nullable: true),
TwoFactorProviders = table.Column(type: "text", nullable: true),
UsesKeyConnector = table.Column(type: "boolean", nullable: false),
ResetPasswordKey = table.Column(type: "text", nullable: true),
CollectionId = table.Column(type: "uuid", nullable: true),
GroupId = table.Column(type: "uuid", nullable: true),
GroupName = table.Column(type: "text", nullable: true),
CollectionName = table.Column(type: "text", nullable: true),
ReadOnly = table.Column(type: "boolean", nullable: true),
HidePasswords = table.Column(type: "boolean", nullable: true),
Manage = table.Column(type: "boolean", nullable: true),
CipherId = table.Column(type: "uuid", nullable: false)
},
constraints: table =>
{
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "OrganizationMemberBaseDetails");
}
}