Some checks reported errors
		
		
	
	continuous-integration/drone/push Build encountered an error
				
			
		
			
				
	
	
		
			67 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Microsoft.EntityFrameworkCore.Migrations;
 | |
| 
 | |
| #nullable disable
 | |
| 
 | |
| namespace Infrastructure.Migrations
 | |
| {
 | |
|     /// <inheritdoc />
 | |
|     public partial class PendingChanges : Migration
 | |
|     {
 | |
|         /// <inheritdoc />
 | |
|         protected override void Up(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AlterColumn<string>(
 | |
|                 name: "CitizenshipByBirth",
 | |
|                 table: "Applicant",
 | |
|                 type: "character varying(50)",
 | |
|                 unicode: false,
 | |
|                 maxLength: 50,
 | |
|                 nullable: false,
 | |
|                 oldClrType: typeof(string),
 | |
|                 oldType: "character varying(30)",
 | |
|                 oldUnicode: false,
 | |
|                 oldMaxLength: 30);
 | |
| 
 | |
|             migrationBuilder.AlterColumn<string>(
 | |
|                 name: "Citizenship",
 | |
|                 table: "Applicant",
 | |
|                 type: "character varying(50)",
 | |
|                 unicode: false,
 | |
|                 maxLength: 50,
 | |
|                 nullable: false,
 | |
|                 oldClrType: typeof(string),
 | |
|                 oldType: "character varying(30)",
 | |
|                 oldUnicode: false,
 | |
|                 oldMaxLength: 30);
 | |
|         }
 | |
| 
 | |
|         /// <inheritdoc />
 | |
|         protected override void Down(MigrationBuilder migrationBuilder)
 | |
|         {
 | |
|             migrationBuilder.AlterColumn<string>(
 | |
|                 name: "CitizenshipByBirth",
 | |
|                 table: "Applicant",
 | |
|                 type: "character varying(30)",
 | |
|                 unicode: false,
 | |
|                 maxLength: 30,
 | |
|                 nullable: false,
 | |
|                 oldClrType: typeof(string),
 | |
|                 oldType: "character varying(50)",
 | |
|                 oldUnicode: false,
 | |
|                 oldMaxLength: 50);
 | |
| 
 | |
|             migrationBuilder.AlterColumn<string>(
 | |
|                 name: "Citizenship",
 | |
|                 table: "Applicant",
 | |
|                 type: "character varying(30)",
 | |
|                 unicode: false,
 | |
|                 maxLength: 30,
 | |
|                 nullable: false,
 | |
|                 oldClrType: typeof(string),
 | |
|                 oldType: "character varying(50)",
 | |
|                 oldUnicode: false,
 | |
|                 oldMaxLength: 50);
 | |
|         }
 | |
|     }
 | |
| }
 |