using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace API.Data.Migrations { /// public partial class ChapterMetadataLocks : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "AgeRatingLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "CharacterLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "ColoristLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "CoverArtistLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "EditorLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "GenresLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "ISBNLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "ImprintLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "InkerLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "LanguageLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "LettererLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "LocationLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "PencillerLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "PublisherLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "ReleaseDateLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "SummaryLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "TagsLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "TeamLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "TitleNameLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "TranslatorLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "WriterLocked", table: "Chapter", type: "INTEGER", nullable: false, defaultValue: false); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "AgeRatingLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "CharacterLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "ColoristLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "CoverArtistLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "EditorLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "GenresLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "ISBNLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "ImprintLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "InkerLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "LanguageLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "LettererLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "LocationLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "PencillerLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "PublisherLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "ReleaseDateLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "SummaryLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "TagsLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "TeamLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "TitleNameLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "TranslatorLocked", table: "Chapter"); migrationBuilder.DropColumn( name: "WriterLocked", table: "Chapter"); } } }