32 lines
		
	
	
		
			909 B
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			909 B
		
	
	
	
		
			C#
		
	
	
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| #nullable disable
 | |
| 
 | |
| namespace IRaCIS.Core.Infra.EFCore.Migrations
 | |
| {
 | |
|     /// <inheritdoc />
 | |
|     public partial class TrialConfigAddTrialName : Migration
 | |
|     {
 | |
|         /// <inheritdoc />
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AddColumn<string>(
 | |
|                 name: "TrialObjectNameConfigStr",
 | |
|                 table: "Trial",
 | |
|                 type: "nvarchar(1000)",
 | |
|                 maxLength: 1000,
 | |
|                 nullable: false,
 | |
|                 defaultValue: "",
 | |
|                 comment: "项目术语配置Json字符串");
 | |
|         }
 | |
| 
 | |
|         /// <inheritdoc />
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.DropColumn(
 | |
|                 name: "TrialObjectNameConfigStr",
 | |
|                 table: "Trial");
 | |
|         }
 | |
|     }
 | |
| }
 |