using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Migrations { /// public partial class dev0803252 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "AltTitleIds", table: "Manga"); migrationBuilder.DropColumn( name: "AuthorIds", table: "Manga"); migrationBuilder.DropColumn( name: "LinkIds", table: "Manga"); migrationBuilder.DropColumn( name: "TagIds", table: "Manga"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "AltTitleIds", table: "Manga", type: "text[]", nullable: false, defaultValue: new string[0]); migrationBuilder.AddColumn( name: "AuthorIds", table: "Manga", type: "text[]", nullable: false, defaultValue: new string[0]); migrationBuilder.AddColumn( name: "LinkIds", table: "Manga", type: "text[]", nullable: false, defaultValue: new string[0]); migrationBuilder.AddColumn( name: "TagIds", table: "Manga", type: "text[]", nullable: false, defaultValue: new string[0]); } } }