* update dependencies; resync mysql db * manually fix mysql migration
1280 lines
50 KiB
C#
1280 lines
50 KiB
C#
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace ErsatzTV.Infrastructure.MySql.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class ResyncDb_DummyMigration : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Writer",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TraktListItemGuid",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TraktListItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TraktList",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TemplateItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TemplateGroup",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Template",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Tag",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Subtitle",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Style",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Studio",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "SongMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "SmartCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ShowMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "SeasonMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Resolution",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ProgramScheduleItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ProgramScheduleAlternate",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ProgramSchedule",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlexPathReplacement",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlexConnection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlexCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutTemplate",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutScheduleItemFillGroupIndex",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutProgramScheduleAnchor",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutHistory",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Playout",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "OtherVideoMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MusicVideoMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MusicVideoArtist",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MultiCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MovieMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Mood",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MetadataGuid",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaVersion",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaStream",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaSource",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaFile",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaChapter",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "LibraryPath",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "LibraryFolder",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Library",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "LanguageCode",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "JellyfinPathReplacement",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "JellyfinPathInfo",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "JellyfinConnection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "JellyfinCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ImageMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ImageFolderDuration",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Genre",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "FillerPreset",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "FFmpegProfile",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EpisodeMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EmbyPathReplacement",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EmbyPathInfo",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EmbyConnection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EmbyCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Director",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ConfigElement",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Collection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ChannelWatermark",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Channel",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "BlockItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "BlockGroup",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Block",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Artwork",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ArtistMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Actor",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Writer",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TraktListItemGuid",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TraktListItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TraktList",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TemplateItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "TemplateGroup",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Template",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Tag",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Subtitle",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Style",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Studio",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "SongMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "SmartCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ShowMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "SeasonMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Resolution",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ProgramScheduleItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ProgramScheduleAlternate",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ProgramSchedule",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlexPathReplacement",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlexConnection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlexCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutTemplate",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutScheduleItemFillGroupIndex",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutProgramScheduleAnchor",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "PlayoutHistory",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Playout",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "OtherVideoMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MusicVideoMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MusicVideoArtist",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MultiCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MovieMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Mood",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MetadataGuid",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaVersion",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaStream",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaSource",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaFile",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "MediaChapter",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "LibraryPath",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "LibraryFolder",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Library",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "LanguageCode",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "JellyfinPathReplacement",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "JellyfinPathInfo",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "JellyfinConnection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "JellyfinCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ImageMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ImageFolderDuration",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Genre",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "FillerPreset",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "FFmpegProfile",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EpisodeMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EmbyPathReplacement",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EmbyPathInfo",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EmbyConnection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "EmbyCollection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Director",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ConfigElement",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Collection",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ChannelWatermark",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Channel",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "BlockItem",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "BlockGroup",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Block",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Artwork",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "ArtistMetadata",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Id",
|
|
table: "Actor",
|
|
type: "int",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "int")
|
|
.OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn);
|
|
}
|
|
}
|
|
}
|