using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace DysonNetwork.Sphere.Migrations
{
    /// 
    public partial class RemoveOutdatedFileIds : Migration
    {
        /// 
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "background_id",
                table: "publishers");
            migrationBuilder.DropColumn(
                name: "picture_id",
                table: "publishers");
            migrationBuilder.DropColumn(
                name: "background_id",
                table: "chat_rooms");
            migrationBuilder.DropColumn(
                name: "picture_id",
                table: "chat_rooms");
        }
        /// 
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn(
                name: "background_id",
                table: "publishers",
                type: "character varying(32)",
                maxLength: 32,
                nullable: true);
            migrationBuilder.AddColumn(
                name: "picture_id",
                table: "publishers",
                type: "character varying(32)",
                maxLength: 32,
                nullable: true);
            migrationBuilder.AddColumn(
                name: "background_id",
                table: "chat_rooms",
                type: "character varying(32)",
                maxLength: 32,
                nullable: true);
            migrationBuilder.AddColumn(
                name: "picture_id",
                table: "chat_rooms",
                type: "character varying(32)",
                maxLength: 32,
                nullable: true);
        }
    }
}