using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Bit.MySqlMigrations.Migrations;
///
public partial class AddOrgUserDefaultCollection : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "DefaultUserCollectionEmail",
table: "Collection",
type: "longtext",
nullable: true)
.Annotation("MySql:CharSet", "utf8mb4");
migrationBuilder.AddColumn(
name: "Type",
table: "Collection",
type: "int",
nullable: false,
defaultValue: 0);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DefaultUserCollectionEmail",
table: "Collection");
migrationBuilder.DropColumn(
name: "Type",
table: "Collection");
}
}