// using System; using DatabaseTest; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace DatabaseTest.Migrations { [DbContext(typeof(DatabaseContext))] partial class DatabaseContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "8.0.7"); modelBuilder.Entity("HopFrame.Database.Models.Entries.PermissionEntry", b => { b.Property("RecordId") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("GrantedAt") .HasColumnType("TEXT"); b.Property("PermissionText") .IsRequired() .HasMaxLength(255) .HasColumnType("TEXT"); b.Property("UserId") .IsRequired() .HasMaxLength(36) .HasColumnType("TEXT"); b.HasKey("RecordId"); b.ToTable("Permissions"); }); modelBuilder.Entity("HopFrame.Database.Models.Entries.TokenEntry", b => { b.Property("Token") .HasMaxLength(36) .HasColumnType("TEXT"); b.Property("CreatedAt") .HasColumnType("TEXT"); b.Property("Type") .HasMaxLength(1) .HasColumnType("INTEGER"); b.Property("UserId") .IsRequired() .HasMaxLength(36) .HasColumnType("TEXT"); b.HasKey("Token"); b.ToTable("Tokens"); }); modelBuilder.Entity("HopFrame.Database.Models.Entries.UserEntry", b => { b.Property("Id") .HasMaxLength(36) .HasColumnType("TEXT"); b.Property("CreatedAt") .HasColumnType("TEXT"); b.Property("Email") .IsRequired() .HasMaxLength(50) .HasColumnType("TEXT"); b.Property("Password") .IsRequired() .HasMaxLength(255) .HasColumnType("TEXT"); b.Property("Username") .HasMaxLength(50) .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Users"); }); #pragma warning restore 612, 618 } } }