﻿using System;
using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;

namespace School.Data.Migrations
{
    public partial class RemvoeSomeProperties : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Content",
                table: "Lessions");

            migrationBuilder.DropColumn(
                name: "Title",
                table: "Lessions");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "Content",
                table: "Lessions",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "Title",
                table: "Lessions",
                nullable: true);
        }
    }
}
