притушил пока тесты в CI, поправил некоторые вещи для запуска апи, миграцию создал какую-то
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2025-10-05 16:58:08 +03:00
parent 81a01ae4ed
commit 39a748ff0e
6 changed files with 580 additions and 12 deletions

View File

@@ -0,0 +1,66 @@
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);
}
}
}