wiring up new auth endpoint
This commit is contained in:
parent
b6999cef0a
commit
a13fb49942
17 changed files with 850 additions and 37 deletions
|
@ -14,12 +14,12 @@ namespace Sledgemapper.Api.Migrations
|
|||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "5.0.3");
|
||||
.HasAnnotation("ProductVersion", "5.0.6");
|
||||
|
||||
modelBuilder.Entity("CampaignUser", b =>
|
||||
{
|
||||
b.Property<int>("CampaignsCampaignId")
|
||||
.HasColumnType("INTEGER");
|
||||
b.Property<Guid>("CampaignsCampaignId")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("InvitedUsersId")
|
||||
.HasColumnType("TEXT");
|
||||
|
@ -229,9 +229,9 @@ namespace Sledgemapper.Api.Migrations
|
|||
|
||||
modelBuilder.Entity("Sledgemapper.Api.Core.Entities.Campaign", b =>
|
||||
{
|
||||
b.Property<int>("CampaignId")
|
||||
b.Property<Guid>("CampaignId")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("INTEGER");
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("CampaignName")
|
||||
.HasColumnType("TEXT");
|
||||
|
@ -258,13 +258,16 @@ namespace Sledgemapper.Api.Migrations
|
|||
b.Property<int>("CampaignId")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<Guid?>("CampaignId1")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<string>("MapName")
|
||||
.IsRequired()
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("MapId");
|
||||
|
||||
b.HasIndex("CampaignId");
|
||||
b.HasIndex("CampaignId1");
|
||||
|
||||
b.ToTable("Maps");
|
||||
});
|
||||
|
@ -394,9 +397,6 @@ namespace Sledgemapper.Api.Migrations
|
|||
b.Property<byte[]>("PasswordSalt")
|
||||
.HasColumnType("BLOB");
|
||||
|
||||
b.Property<string>("Username")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.ToTable("Users");
|
||||
});
|
||||
|
||||
|
@ -479,9 +479,7 @@ namespace Sledgemapper.Api.Migrations
|
|||
{
|
||||
b.HasOne("Sledgemapper.Api.Core.Entities.Campaign", null)
|
||||
.WithMany("Maps")
|
||||
.HasForeignKey("CampaignId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
.HasForeignKey("CampaignId1");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Sledgemapper.Entities.User", b =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue