using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Migrations { /// public partial class dev1303258 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Url", table: "NotificationConnectors", type: "character varying(2048)", maxLength: 2048, nullable: false, oldClrType: typeof(string), oldType: "character varying(256)", oldMaxLength: 256); migrationBuilder.AlterColumn( name: "Body", table: "NotificationConnectors", type: "character varying(4096)", maxLength: 4096, nullable: false, oldClrType: typeof(string), oldType: "character varying(512)", oldMaxLength: 512); migrationBuilder.AlterColumn( name: "IconUrl", table: "MangaConnectors", type: "character varying(2048)", maxLength: 2048, nullable: false, oldClrType: typeof(string), oldType: "character varying(256)", oldMaxLength: 256); migrationBuilder.AlterColumn( name: "LinkUrl", table: "Link", type: "character varying(2048)", maxLength: 2048, nullable: false, oldClrType: typeof(string), oldType: "character varying(128)", oldMaxLength: 128); migrationBuilder.AlterColumn( name: "LinkProvider", table: "Link", type: "character varying(64)", maxLength: 64, nullable: false, oldClrType: typeof(string), oldType: "character varying(128)", oldMaxLength: 128); migrationBuilder.AlterColumn( name: "Url", table: "Chapters", type: "character varying(2048)", maxLength: 2048, nullable: false, oldClrType: typeof(string), oldType: "character varying(256)", oldMaxLength: 256); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Url", table: "NotificationConnectors", type: "character varying(256)", maxLength: 256, nullable: false, oldClrType: typeof(string), oldType: "character varying(2048)", oldMaxLength: 2048); migrationBuilder.AlterColumn( name: "Body", table: "NotificationConnectors", type: "character varying(512)", maxLength: 512, nullable: false, oldClrType: typeof(string), oldType: "character varying(4096)", oldMaxLength: 4096); migrationBuilder.AlterColumn( name: "IconUrl", table: "MangaConnectors", type: "character varying(256)", maxLength: 256, nullable: false, oldClrType: typeof(string), oldType: "character varying(2048)", oldMaxLength: 2048); migrationBuilder.AlterColumn( name: "LinkUrl", table: "Link", type: "character varying(128)", maxLength: 128, nullable: false, oldClrType: typeof(string), oldType: "character varying(2048)", oldMaxLength: 2048); migrationBuilder.AlterColumn( name: "LinkProvider", table: "Link", type: "character varying(128)", maxLength: 128, nullable: false, oldClrType: typeof(string), oldType: "character varying(64)", oldMaxLength: 64); migrationBuilder.AlterColumn( name: "Url", table: "Chapters", type: "character varying(256)", maxLength: 256, nullable: false, oldClrType: typeof(string), oldType: "character varying(2048)", oldMaxLength: 2048); } } }