// using AspnetCoreFull.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace AspnetCoreFull.Migrations { [DbContext(typeof(UserContext))] [Migration("20231019132021_InitialCreate")] partial class InitialCreate { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "7.0.12"); modelBuilder.Entity("AspnetCoreFull.Models.User", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("ContactNumber") .IsRequired() .HasColumnType("TEXT"); b.Property("Email") .IsRequired() .HasColumnType("TEXT"); b.Property("IsVerified") .HasColumnType("INTEGER"); b.Property("SelectedPlan") .IsRequired() .HasColumnType("TEXT"); b.Property("SelectedRole") .IsRequired() .HasColumnType("TEXT"); b.Property("UserName") .IsRequired() .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("User"); }); #pragma warning restore 612, 618 } } }