// using System; using Apollon.EntityFramework; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace Apollon.EntityFramework.Migrations { [DbContext(typeof(ApplicationDbContext))] [Migration("20221110003817_logo")] partial class logo { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "6.0.8") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1); modelBuilder.Entity("Apollon.EntityFramework.DTOs.TournamentDto", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("Competition") .HasColumnType("nvarchar(max)"); b.Property("CompetitionImage") .HasColumnType("nvarchar(max)"); b.Property("EndDate") .HasColumnType("datetime2"); b.Property("Location") .HasColumnType("nvarchar(max)"); b.Property("Logo") .HasColumnType("nvarchar(max)"); b.Property("Organisation") .HasColumnType("nvarchar(max)"); b.Property("Rounds") .HasColumnType("int"); b.Property("StartDate") .HasColumnType("datetime2"); b.Property("TournamentName") .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.ToTable("Tournaments"); }); #pragma warning restore 612, 618 } } }