// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using TournamentOrganizer; #nullable disable namespace TournamentOrganizer.Migrations { [DbContext(typeof(TournamentContext))] [Migration("20260409072947_InitialEvent")] partial class InitialEvent { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "10.0.5"); modelBuilder.Entity("TournamentOrganizer.Models.Event", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("EventEnd") .HasColumnType("TEXT"); b.Property("EventStart") .HasColumnType("TEXT"); b.Property("Name") .IsRequired() .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Events"); }); #pragma warning restore 612, 618 } } }