using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Adapters.Driven.Persistence.Migrations { /// public partial class AddStudentActivation : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ActivationCodeHash", table: "Students", type: "nvarchar(256)", maxLength: 256, nullable: true); migrationBuilder.AddColumn( name: "ActivationExpiresAt", table: "Students", type: "datetime2", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ActivationCodeHash", table: "Students"); migrationBuilder.DropColumn( name: "ActivationExpiresAt", table: "Students"); } } }