diff --git a/Sources/Tests/ConsoleDB/Migrations/20230201073746_MyMigration.Designer.cs b/Sources/Tests/ConsoleDB/Migrations/20230201073746_MyMigration.Designer.cs deleted file mode 100644 index 5c7854f..0000000 --- a/Sources/Tests/ConsoleDB/Migrations/20230201073746_MyMigration.Designer.cs +++ /dev/null @@ -1,46 +0,0 @@ -// -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -#nullable disable - -namespace ConsoleDB.Migrations -{ - [DbContext(typeof(SQLiteLolContext))] - [Migration("20230201073746_MyMigration")] - partial class MyMigration - { - /// - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder.HasAnnotation("ProductVersion", "7.0.2"); - - modelBuilder.Entity("EntityFrameWorkLib.ChampionEntity", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("INTEGER"); - - b.Property("Bio") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property("Icon") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property("Name") - .IsRequired() - .HasColumnType("TEXT"); - - b.HasKey("Id"); - - b.ToTable("Champions"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/Sources/Tests/ConsoleDB/Migrations/20230201073746_MyMigration.cs b/Sources/Tests/ConsoleDB/Migrations/20230201073746_MyMigration.cs deleted file mode 100644 index 8c2d5dc..0000000 --- a/Sources/Tests/ConsoleDB/Migrations/20230201073746_MyMigration.cs +++ /dev/null @@ -1,36 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace ConsoleDB.Migrations -{ - /// - public partial class MyMigration : Migration - { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "Champions", - columns: table => new - { - Id = table.Column(type: "INTEGER", nullable: false) - .Annotation("Sqlite:Autoincrement", true), - Name = table.Column(type: "TEXT", nullable: false), - Bio = table.Column(type: "TEXT", nullable: false), - Icon = table.Column(type: "TEXT", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Champions", x => x.Id); - }); - } - - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "Champions"); - } - } -} diff --git a/Sources/Tests/ConsoleDB/Migrations/SQLiteLolContextModelSnapshot.cs b/Sources/Tests/ConsoleDB/Migrations/SQLiteLolContextModelSnapshot.cs deleted file mode 100644 index b0fd20c..0000000 --- a/Sources/Tests/ConsoleDB/Migrations/SQLiteLolContextModelSnapshot.cs +++ /dev/null @@ -1,43 +0,0 @@ -// -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -#nullable disable - -namespace ConsoleDB.Migrations -{ - [DbContext(typeof(SQLiteLolContext))] - partial class SQLiteLolContextModelSnapshot : ModelSnapshot - { - protected override void BuildModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder.HasAnnotation("ProductVersion", "7.0.2"); - - modelBuilder.Entity("EntityFrameWorkLib.ChampionEntity", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("INTEGER"); - - b.Property("Bio") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property("Icon") - .IsRequired() - .HasColumnType("TEXT"); - - b.Property("Name") - .IsRequired() - .HasColumnType("TEXT"); - - b.HasKey("Id"); - - b.ToTable("Champions"); - }); -#pragma warning restore 612, 618 - } - } -}