aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs')
-rw-r--r--src/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs38
1 files changed, 33 insertions, 5 deletions
diff --git a/src/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs b/src/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
index c7ff6c6..cc6d24d 100644
--- a/src/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
+++ b/src/DevHive.Data/Migrations/DevHiveContextModelSnapshot.cs
@@ -25,14 +25,14 @@ namespace DevHive.Data.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("uuid");
- b.Property<DateTime>("Date")
- .HasColumnType("timestamp without time zone");
+ b.Property<Guid>("IssuerId")
+ .HasColumnType("uuid");
b.Property<string>("Message")
.HasColumnType("text");
- b.Property<Guid>("UserId")
- .HasColumnType("uuid");
+ b.Property<DateTime>("TimeCreated")
+ .HasColumnType("timestamp without time zone");
b.HasKey("Id");
@@ -48,8 +48,13 @@ namespace DevHive.Data.Migrations
b.Property<string>("Name")
.HasColumnType("text");
+ b.Property<Guid?>("UserId")
+ .HasColumnType("uuid");
+
b.HasKey("Id");
+ b.HasIndex("UserId");
+
b.ToTable("Languages");
});
@@ -89,8 +94,13 @@ namespace DevHive.Data.Migrations
b.Property<string>("Name")
.HasColumnType("text");
+ b.Property<Guid?>("UserId")
+ .HasColumnType("uuid");
+
b.HasKey("Id");
+ b.HasIndex("UserId");
+
b.ToTable("Technologies");
});
@@ -143,7 +153,7 @@ namespace DevHive.Data.Migrations
b.Property<bool>("PhoneNumberConfirmed")
.HasColumnType("boolean");
- b.Property<string>("ProfilePicture")
+ b.Property<string>("ProfilePictureUrl")
.HasColumnType("text");
b.Property<string>("SecurityStamp")
@@ -292,6 +302,20 @@ namespace DevHive.Data.Migrations
b.ToTable("RoleUser");
});
+ modelBuilder.Entity("DevHive.Data.Models.Language", b =>
+ {
+ b.HasOne("DevHive.Data.Models.User", null)
+ .WithMany("Langauges")
+ .HasForeignKey("UserId");
+ });
+
+ modelBuilder.Entity("DevHive.Data.Models.Technology", b =>
+ {
+ b.HasOne("DevHive.Data.Models.User", null)
+ .WithMany("Technologies")
+ .HasForeignKey("UserId");
+ });
+
modelBuilder.Entity("DevHive.Data.Models.User", b =>
{
b.HasOne("DevHive.Data.Models.User", null)
@@ -368,6 +392,10 @@ namespace DevHive.Data.Migrations
modelBuilder.Entity("DevHive.Data.Models.User", b =>
{
b.Navigation("Friends");
+
+ b.Navigation("Langauges");
+
+ b.Navigation("Technologies");
});
#pragma warning restore 612, 618
}