Changeset c2e73b6 for iknow-api/Migrations/20251028091953_new.Designer.cs
- Timestamp:
- 10/28/25 10:49:02 (11 months ago)
- Branches:
- master
- Children:
- 4708118, ff202cf
- Parents:
- e49c3ed (diff), c155364 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Boris Gjorgjievski <69085722+imbrsk@…> (10/28/25 10:49:02)
- git-committer:
- GitHub <noreply@…> (10/28/25 10:49:02)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Migrations/20251028091953_new.Designer.cs
re49c3ed rc2e73b6 13 13 { 14 14 [DbContext(typeof(AppDbContext))] 15 [Migration("2025102 2202014_InitialCreate")]16 partial class InitialCreate15 [Migration("20251028091953_new")] 16 partial class @new 17 17 { 18 18 /// <inheritdoc /> … … 26 26 NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); 27 27 28 modelBuilder.Entity("iknow_api.Core.Models.User", b => 28 modelBuilder.Entity("iknow_api.Models.RefreshToken", b => 29 { 30 b.Property<int>("Id") 31 .ValueGeneratedOnAdd() 32 .HasColumnType("integer"); 33 34 NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id")); 35 36 b.Property<DateTime>("ExpiresAt") 37 .HasColumnType("timestamp with time zone"); 38 39 b.Property<bool>("IsValid") 40 .HasColumnType("boolean"); 41 42 b.Property<string>("Token") 43 .IsRequired() 44 .HasColumnType("text"); 45 46 b.Property<int>("UserId") 47 .HasColumnType("integer"); 48 49 b.HasKey("Id"); 50 51 b.HasIndex("UserId"); 52 53 b.ToTable("RefreshToken"); 54 }); 55 56 modelBuilder.Entity("iknow_api.Models.User", b => 29 57 { 30 58 b.Property<int>("Id") … … 62 90 b.ToTable("User"); 63 91 }); 92 93 modelBuilder.Entity("iknow_api.Models.RefreshToken", b => 94 { 95 b.HasOne("iknow_api.Models.User", "User") 96 .WithMany() 97 .HasForeignKey("UserId") 98 .OnDelete(DeleteBehavior.Cascade) 99 .IsRequired(); 100 101 b.Navigation("User"); 102 }); 64 103 #pragma warning restore 612, 618 65 104 }
Note:
See TracChangeset
for help on using the changeset viewer.
