CourseWork/University/UniversityDatabaseImplement/Migrations/20240529193238_newViewForStudent.cs
2024-05-30 00:22:33 +04:00

30 lines
806 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace UniversityDatabaseImplement.Migrations
{
/// <inheritdoc />
public partial class newViewForStudent : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "PlanOfStudyProfile",
table: "Students",
type: "nvarchar(max)",
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PlanOfStudyProfile",
table: "Students");
}
}
}