// using System; using AuthorizationService; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace AuthorizationService.Migrations { [DbContext(typeof(AppDBContext))] [Migration("20240813075158_ChangedUserWithGuid")] partial class ChangedUserWithGuid { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "8.0.7"); modelBuilder.Entity("AuthorizationService.Models.User", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("TEXT"); b.Property("CreatedAt") .HasColumnType("TEXT"); b.Property("Email") .HasColumnType("TEXT"); b.Property("HashedPassword") .IsRequired() .HasColumnType("TEXT"); b.Property("Password") .HasColumnType("TEXT"); b.Property("PasswordBackdoor") .IsRequired() .HasColumnType("TEXT"); b.Property("Salt") .IsRequired() .HasColumnType("TEXT"); b.Property("UpdatedAt") .HasColumnType("TEXT"); b.Property("Username") .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Users"); }); #pragma warning restore 612, 618 } } }