using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace JobsMedical.Web.Migrations
{
///
public partial class UserProfileMedia : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Avatar",
table: "Users",
type: "bytea",
nullable: true);
migrationBuilder.AddColumn(
name: "AvatarContentType",
table: "Users",
type: "character varying(100)",
maxLength: 100,
nullable: true);
migrationBuilder.AddColumn(
name: "Resume",
table: "Users",
type: "bytea",
nullable: true);
migrationBuilder.AddColumn(
name: "ResumeContentType",
table: "Users",
type: "character varying(120)",
maxLength: 120,
nullable: true);
migrationBuilder.AddColumn(
name: "ResumeFileName",
table: "Users",
type: "character varying(200)",
maxLength: 200,
nullable: true);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Avatar",
table: "Users");
migrationBuilder.DropColumn(
name: "AvatarContentType",
table: "Users");
migrationBuilder.DropColumn(
name: "Resume",
table: "Users");
migrationBuilder.DropColumn(
name: "ResumeContentType",
table: "Users");
migrationBuilder.DropColumn(
name: "ResumeFileName",
table: "Users");
}
}
}