添加LinkVerificationCode
This commit is contained in:
+22350
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,30 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class LinkVerificationCode : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "LinkVerificationCode",
|
||||
table: "Trial",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LinkVerificationCode",
|
||||
table: "Trial");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12711,6 +12711,11 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
b.Property<DateTime?>("LinkExpirationTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("LinkVerificationCode")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<string>("MainResearchUnit")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
|
||||
Reference in New Issue
Block a user