using System; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Marechai.Database.Migrations { /// public partial class UpdateAnnotations : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "CreatedOn", table: "StorageByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "StorageByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "storage_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "storage_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Path", table: "StandaloneFiles", type: "varchar(8192)", maxLength: 8192, nullable: false, oldClrType: typeof(string), oldType: "longtext CHARACTER SET utf8mb4", oldMaxLength: 8192) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "StandaloneFiles", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "StandaloneFiles", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoundBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoundBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoundByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoundByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "sound_synths", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "sound_synths", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "sound_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "sound_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoftwareVersion", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoftwareVersion", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoftwareVariants", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoftwareVariants", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoftwareVariantByCompilationMedia", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoftwareVariantByCompilationMedia", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoftwareFamilies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoftwareFamilies", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ScreensByMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "ScreensByMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Screens", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Screens", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ResolutionsByScreen", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "ResolutionsByScreen", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "resolutions_by_gpu", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "resolutions_by_gpu", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "resolutions", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "resolutions", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "RequiredSoftwareBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "RequiredSoftwareBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "RequiredOperatingSystemsBySofwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "RequiredOperatingSystemsBySofwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ProcessorsBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "ProcessorsBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ProcessorsByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "ProcessorsByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "processors_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "processors_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "processors", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "processors", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleBySoftwareVersion", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleBySoftwareVersion", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleBySoftwareFamily", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleBySoftwareFamily", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleByMagazines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleByMagazines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleByDocuments", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleByDocuments", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleByCompany", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleByCompany", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleByBooks", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleByBooks", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "People", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "People", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "OwnedMachines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "OwnedMachines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "OwnedMachinePhotos", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "news", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "news", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "money_donations", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "money_donations", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MemoryByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MemoryByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "memory_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "memory_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaTagDumps", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaTagDumps", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Path", table: "MediaFiles", type: "varchar(8192)", maxLength: 8192, nullable: false, oldClrType: typeof(string), oldType: "longtext CHARACTER SET utf8mb4", oldMaxLength: 8192) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaFiles", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaFiles", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumpTrackImages", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumpTrackImages", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumpSubchannelImages", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumpSubchannelImages", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumps", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumps", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumpImages", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumpImages", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumpFileImages", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumpFileImages", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Media", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Media", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MasteringTexts", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MasteringTexts", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "marechai_db", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MagazineScans", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MagazinesByMachinesFamilies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MagazinesByMachinesFamilies", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MagazinesByMachines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MagazinesByMachines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Magazines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Magazines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MagazineIssues", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MagazineIssues", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MachinesBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MachinesBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "machines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "machines", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MachinePhotos", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MachineFamiliesBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MachineFamiliesBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "machine_families", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "machine_families", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "LogicalPartitionsByMedia", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "LogicalPartitionsByMedia", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "LogicalPartitions", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "LogicalPartitions", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "log", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "log", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Licenses", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Licenses", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "LanguagesBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "LanguagesBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Iso4217", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "iso3166_1_numeric", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "iso3166_1_numeric", type: "smallint(3)", nullable: false, oldClrType: typeof(short), oldType: "smallint(3)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ISO_639-3", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "InstructionSetsBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "InstructionSetsBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "instruction_sets", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "instruction_sets", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "instruction_set_extensions_by_processor", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "instruction_set_extensions_by_processor", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "instruction_set_extensions", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "instruction_set_extensions", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "GpusBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "GpusBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "GpusByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "GpusByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "gpus_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "gpus_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "gpus", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "gpus", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "forbidden", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "forbidden", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FilesystemsByMediaDumpFile", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FilesystemsByMediaDumpFile", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FilesystemsByLogicalPartition", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FilesystemsByLogicalPartition", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Filesystems", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Filesystems", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FilesByFilesystem", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FilesByFilesystem", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Files", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Files", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FileDataStreamsByStandaloneFile", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FileDataStreamsByStandaloneFile", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FileDataStreamsByMediaFile", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FileDataStreamsByMediaFile", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FileDataStreams", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FileDataStreams", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Dumps", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Dumps", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DumpHardwares", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DumpHardwares", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentScans", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentsByMachines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DocumentsByMachines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentsByMachineFamily", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DocumentsByMachineFamily", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Documents", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Documents", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentPeople", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DocumentPeople", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentCompanies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DocumentCompanies", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CurrenciesPegging", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CurrenciesPegging", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CurrenciesInflation", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CurrenciesInflation", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompanyDescriptions", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompanyDescriptions", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "company_logos", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "company_logos", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesBySoftwareVersion", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesBySoftwareVersion", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesBySoftwareFamily", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesBySoftwareFamily", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesByMagazines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesByMagazines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesByDocuments", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesByDocuments", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesByBooks", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesByBooks", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "companies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "companies", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "browser_tests", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "browser_tests", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "BookScans", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "BooksByMachines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "BooksByMachines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "BooksByMachineFamilies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "BooksByMachineFamilies", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Books", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Books", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Audit", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Audit", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Name", table: "AspNetUserTokens", type: "varchar(128)", maxLength: 128, nullable: false, oldClrType: typeof(string), oldType: "varchar(255)") .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "LoginProvider", table: "AspNetUserTokens", type: "varchar(128)", maxLength: 128, nullable: false, oldClrType: typeof(string), oldType: "varchar(255)") .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ProviderKey", table: "AspNetUserLogins", type: "varchar(128)", maxLength: 128, nullable: false, oldClrType: typeof(string), oldType: "varchar(255)") .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "LoginProvider", table: "AspNetUserLogins", type: "varchar(128)", maxLength: 128, nullable: false, oldClrType: typeof(string), oldType: "varchar(255)") .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "Id", table: "AspNetUserClaims", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "AspNetRoleClaims", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "CreatedOn", table: "StorageByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "StorageByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "storage_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "storage_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Path", table: "StandaloneFiles", type: "longtext CHARACTER SET utf8mb4", maxLength: 8192, nullable: false, oldClrType: typeof(string), oldType: "varchar(8192)", oldMaxLength: 8192) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "StandaloneFiles", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "StandaloneFiles", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoundBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoundBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoundByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoundByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "sound_synths", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "sound_synths", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "sound_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "sound_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoftwareVersion", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoftwareVersion", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoftwareVariants", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoftwareVariants", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoftwareVariantByCompilationMedia", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoftwareVariantByCompilationMedia", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "SoftwareFamilies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "SoftwareFamilies", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ScreensByMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "ScreensByMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Screens", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Screens", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ResolutionsByScreen", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "ResolutionsByScreen", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "resolutions_by_gpu", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "resolutions_by_gpu", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "resolutions", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "resolutions", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "RequiredSoftwareBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "RequiredSoftwareBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "RequiredOperatingSystemsBySofwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "RequiredOperatingSystemsBySofwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ProcessorsBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "ProcessorsBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ProcessorsByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "ProcessorsByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "processors_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "processors_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "processors", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "processors", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleBySoftwareVersion", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleBySoftwareVersion", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleBySoftwareFamily", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleBySoftwareFamily", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleByMagazines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleByMagazines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleByDocuments", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleByDocuments", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleByCompany", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleByCompany", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "PeopleByBooks", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "PeopleByBooks", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "People", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "People", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "OwnedMachines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "OwnedMachines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "OriginalExtension", table: "OwnedMachinePhotos", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "OwnedMachinePhotos", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "news", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "news", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "money_donations", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "money_donations", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MemoryByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MemoryByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "memory_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "memory_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaTagDumps", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaTagDumps", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Path", table: "MediaFiles", type: "longtext CHARACTER SET utf8mb4", maxLength: 8192, nullable: false, oldClrType: typeof(string), oldType: "varchar(8192)", oldMaxLength: 8192) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaFiles", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaFiles", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumpTrackImages", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumpTrackImages", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumpSubchannelImages", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumpSubchannelImages", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumps", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumps", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumpImages", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumpImages", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaDumpFileImages", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaDumpFileImages", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MediaBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MediaBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Media", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Media", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MasteringTexts", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MasteringTexts", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "marechai_db", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "OriginalExtension", table: "MagazineScans", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MagazineScans", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MagazinesByMachinesFamilies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MagazinesByMachinesFamilies", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MagazinesByMachines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MagazinesByMachines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Synopsis", table: "Magazines", type: "longtext CHARACTER SET utf8mb4", maxLength: 262144, nullable: true, oldClrType: typeof(string), oldType: "longtext", oldMaxLength: 262144, oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Magazines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Magazines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MagazineIssues", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MagazineIssues", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MachinesBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MachinesBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "machines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "machines", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Source", table: "MachinePhotos", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "OriginalExtension", table: "MachinePhotos", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MachinePhotos", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "MachineFamiliesBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "MachineFamiliesBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "machine_families", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "machine_families", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "LogicalPartitionsByMedia", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "LogicalPartitionsByMedia", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "LogicalPartitions", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "LogicalPartitions", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "log", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "log", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Licenses", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Licenses", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "LanguagesBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "LanguagesBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Iso4217", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "iso3166_1_numeric", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "iso3166_1_numeric", type: "smallint(3)", nullable: false, oldClrType: typeof(short), oldType: "smallint(3)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "ISO_639-3", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "InstructionSetsBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "InstructionSetsBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "instruction_sets", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "instruction_sets", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "instruction_set_extensions_by_processor", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "instruction_set_extensions_by_processor", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "instruction_set_extensions", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "instruction_set_extensions", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "GpusBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "GpusBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "GpusByOwnedMachine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "GpusByOwnedMachine", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "gpus_by_machine", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "gpus_by_machine", type: "bigint(20)", nullable: false, oldClrType: typeof(long), oldType: "bigint(20)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "gpus", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "gpus", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "forbidden", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "forbidden", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FilesystemsByMediaDumpFile", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FilesystemsByMediaDumpFile", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FilesystemsByLogicalPartition", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FilesystemsByLogicalPartition", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Filesystems", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Filesystems", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FilesByFilesystem", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FilesByFilesystem", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Files", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Files", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FileDataStreamsByStandaloneFile", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FileDataStreamsByStandaloneFile", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FileDataStreamsByMediaFile", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FileDataStreamsByMediaFile", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "FileDataStreams", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "FileDataStreams", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Dumps", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Dumps", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DumpHardwares", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DumpHardwares", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "OriginalExtension", table: "DocumentScans", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentScans", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentsByMachines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DocumentsByMachines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentsByMachineFamily", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DocumentsByMachineFamily", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Synopsis", table: "Documents", type: "longtext CHARACTER SET utf8mb4", maxLength: 262144, nullable: true, oldClrType: typeof(string), oldType: "longtext", oldMaxLength: 262144, oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Documents", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Documents", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentPeople", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DocumentPeople", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "DocumentCompanies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "DocumentCompanies", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CurrenciesPegging", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CurrenciesPegging", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CurrenciesInflation", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CurrenciesInflation", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Text", table: "CompanyDescriptions", type: "longtext CHARACTER SET utf8mb4", maxLength: 262144, nullable: false, oldClrType: typeof(string), oldType: "longtext", oldMaxLength: 262144) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "Html", table: "CompanyDescriptions", type: "longtext CHARACTER SET utf8mb4", maxLength: 262144, nullable: true, oldClrType: typeof(string), oldType: "longtext", oldMaxLength: 262144, oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompanyDescriptions", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompanyDescriptions", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "company_logos", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "company_logos", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesBySoftwareVersion", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesBySoftwareVersion", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesBySoftwareVariant", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesBySoftwareVariant", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesBySoftwareFamily", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesBySoftwareFamily", type: "bigint unsigned", nullable: false, oldClrType: typeof(ulong), oldType: "bigint unsigned") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesByMagazines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesByMagazines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesByDocuments", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesByDocuments", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "CompaniesByBooks", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "CompaniesByBooks", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "LegalName", table: "companies", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "companies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "companies", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "browser_tests", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "id", table: "browser_tests", type: "int(11)", nullable: false, oldClrType: typeof(int), oldType: "int(11)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "OriginalExtension", table: "BookScans", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "BookScans", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "BooksByMachines", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "BooksByMachines", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "BooksByMachineFamilies", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "BooksByMachineFamilies", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Synopsis", table: "Books", type: "longtext CHARACTER SET utf8mb4", maxLength: 262144, nullable: true, oldClrType: typeof(string), oldType: "longtext", oldMaxLength: 262144, oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Books", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Books", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "CreatedOn", table: "Audit", type: "datetime(6)", nullable: false, oldClrType: typeof(DateTime), oldType: "datetime(6)") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Id", table: "Audit", type: "bigint", nullable: false, oldClrType: typeof(long), oldType: "bigint") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Value", table: "AspNetUserTokens", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "Name", table: "AspNetUserTokens", type: "varchar(255)", nullable: false, oldClrType: typeof(string), oldType: "varchar(128)", oldMaxLength: 128) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "LoginProvider", table: "AspNetUserTokens", type: "varchar(255)", nullable: false, oldClrType: typeof(string), oldType: "varchar(128)", oldMaxLength: 128) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "SecurityStamp", table: "AspNetUsers", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "PhoneNumber", table: "AspNetUsers", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "PasswordHash", table: "AspNetUsers", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ConcurrencyStamp", table: "AspNetUsers", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ProviderDisplayName", table: "AspNetUserLogins", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ProviderKey", table: "AspNetUserLogins", type: "varchar(255)", nullable: false, oldClrType: typeof(string), oldType: "varchar(128)", oldMaxLength: 128) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "LoginProvider", table: "AspNetUserLogins", type: "varchar(255)", nullable: false, oldClrType: typeof(string), oldType: "varchar(128)", oldMaxLength: 128) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ClaimValue", table: "AspNetUserClaims", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ClaimType", table: "AspNetUserClaims", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "Id", table: "AspNetUserClaims", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); migrationBuilder.AlterColumn( name: "Description", table: "AspNetRoles", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ConcurrencyStamp", table: "AspNetRoles", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ClaimValue", table: "AspNetRoleClaims", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "ClaimType", table: "AspNetRoleClaims", type: "longtext CHARACTER SET utf8mb4", nullable: true, oldClrType: typeof(string), oldType: "longtext", oldNullable: true) .Annotation("MySql:CharSet", "utf8mb4") .OldAnnotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AlterColumn( name: "Id", table: "AspNetRoleClaims", type: "int", nullable: false, oldClrType: typeof(int), oldType: "int") .OldAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn); } } }