using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Data.Migrations
{
///
public partial class StudentProperties : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "Grade",
table: "Students",
type: "INTEGER",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn(
name: "NationalID",
table: "Students",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn(
name: "OfficerRole",
table: "Students",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn(
name: "RegionalID",
table: "Students",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn(
name: "StateID",
table: "Students",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn(
name: "TsaYear",
table: "Students",
type: "INTEGER",
nullable: false,
defaultValue: 0);
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Grade",
table: "Students");
migrationBuilder.DropColumn(
name: "NationalID",
table: "Students");
migrationBuilder.DropColumn(
name: "OfficerRole",
table: "Students");
migrationBuilder.DropColumn(
name: "RegionalID",
table: "Students");
migrationBuilder.DropColumn(
name: "StateID",
table: "Students");
migrationBuilder.DropColumn(
name: "TsaYear",
table: "Students");
}
}
}