using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Migrations { /// public partial class dev1303252 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "OriginalLanguage", table: "Manga", type: "character varying(8)", maxLength: 8, nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true); migrationBuilder.AlterColumn( name: "Name", table: "Manga", type: "character varying(512)", maxLength: 512, nullable: false, oldClrType: typeof(string), oldType: "text"); migrationBuilder.AlterColumn( name: "MangaConnectorId", table: "Manga", type: "character varying(64)", maxLength: 64, nullable: false, oldClrType: typeof(string), oldType: "character varying(32)"); migrationBuilder.AlterColumn( name: "IdOnConnectorSite", table: "Manga", type: "character varying(128)", maxLength: 128, nullable: false, oldClrType: typeof(string), oldType: "character varying(64)", oldMaxLength: 64); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "OriginalLanguage", table: "Manga", type: "text", nullable: true, oldClrType: typeof(string), oldType: "character varying(8)", oldMaxLength: 8, oldNullable: true); migrationBuilder.AlterColumn( name: "Name", table: "Manga", type: "text", nullable: false, oldClrType: typeof(string), oldType: "character varying(512)", oldMaxLength: 512); migrationBuilder.AlterColumn( name: "MangaConnectorId", table: "Manga", type: "character varying(32)", nullable: false, oldClrType: typeof(string), oldType: "character varying(64)", oldMaxLength: 64); migrationBuilder.AlterColumn( name: "IdOnConnectorSite", table: "Manga", type: "character varying(64)", maxLength: 64, nullable: false, oldClrType: typeof(string), oldType: "character varying(128)", oldMaxLength: 128); } } }