aboutsummaryrefslogtreecommitdiff
path: root/API/Migrations/DevHiveContextModelSnapshot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'API/Migrations/DevHiveContextModelSnapshot.cs')
-rw-r--r--API/Migrations/DevHiveContextModelSnapshot.cs60
1 files changed, 30 insertions, 30 deletions
diff --git a/API/Migrations/DevHiveContextModelSnapshot.cs b/API/Migrations/DevHiveContextModelSnapshot.cs
index 56b50d9..2c517ca 100644
--- a/API/Migrations/DevHiveContextModelSnapshot.cs
+++ b/API/Migrations/DevHiveContextModelSnapshot.cs
@@ -31,34 +31,6 @@ namespace API.Migrations
b.ToTable("Languages");
});
- modelBuilder.Entity("Data.Models.Classes.Roles", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("integer")
- .UseIdentityByDefaultColumn();
-
- b.Property<string>("ConcurrencyStamp")
- .IsConcurrencyToken()
- .HasColumnType("text");
-
- b.Property<string>("Name")
- .HasMaxLength(256)
- .HasColumnType("character varying(256)");
-
- b.Property<string>("NormalizedName")
- .HasMaxLength(256)
- .HasColumnType("character varying(256)");
-
- b.HasKey("Id");
-
- b.HasIndex("NormalizedName")
- .IsUnique()
- .HasDatabaseName("RoleNameIndex");
-
- b.ToTable("AspNetRoles");
- });
-
modelBuilder.Entity("Data.Models.Classes.Technology", b =>
{
b.Property<int>("Id")
@@ -155,6 +127,34 @@ namespace API.Migrations
b.ToTable("AspNetUsers");
});
+ modelBuilder.Entity("Data.Models.Classes.UserRoles", b =>
+ {
+ b.Property<int>("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("integer")
+ .UseIdentityByDefaultColumn();
+
+ b.Property<string>("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasColumnType("text");
+
+ b.Property<string>("Name")
+ .HasMaxLength(256)
+ .HasColumnType("character varying(256)");
+
+ b.Property<string>("NormalizedName")
+ .HasMaxLength(256)
+ .HasColumnType("character varying(256)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("NormalizedName")
+ .IsUnique()
+ .HasDatabaseName("RoleNameIndex");
+
+ b.ToTable("AspNetRoles");
+ });
+
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<int>", b =>
{
b.Property<int>("Id")
@@ -258,7 +258,7 @@ namespace API.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<int>", b =>
{
- b.HasOne("Data.Models.Classes.Roles", null)
+ b.HasOne("Data.Models.Classes.UserRoles", null)
.WithMany()
.HasForeignKey("RoleId")
.OnDelete(DeleteBehavior.Cascade)
@@ -285,7 +285,7 @@ namespace API.Migrations
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<int>", b =>
{
- b.HasOne("Data.Models.Classes.Roles", null)
+ b.HasOne("Data.Models.Classes.UserRoles", null)
.WithMany()
.HasForeignKey("RoleId")
.OnDelete(DeleteBehavior.Cascade)