Got a login
This commit is contained in:
parent
c771d26995
commit
4b52b6e96e
61 changed files with 7793 additions and 609 deletions
|
|
@ -294,9 +294,6 @@ namespace Yavsc.Migrations
|
|||
.HasColumnType("character varying(512)")
|
||||
.HasDefaultValue("/images/Users/icon_user.png");
|
||||
|
||||
b.Property<long>("BankInfoId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("ConcurrencyStamp")
|
||||
.IsConcurrencyToken()
|
||||
.HasColumnType("text");
|
||||
|
|
@ -308,7 +305,6 @@ namespace Yavsc.Migrations
|
|||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("DedicatedGoogleCalendar")
|
||||
.IsRequired()
|
||||
.HasMaxLength(512)
|
||||
.HasColumnType("character varying(512)");
|
||||
|
||||
|
|
@ -321,6 +317,7 @@ namespace Yavsc.Migrations
|
|||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Email")
|
||||
.IsRequired()
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("character varying(256)");
|
||||
|
||||
|
|
@ -328,7 +325,6 @@ namespace Yavsc.Migrations
|
|||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<string>("FullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(512)
|
||||
.HasColumnType("character varying(512)");
|
||||
|
||||
|
|
@ -359,7 +355,6 @@ namespace Yavsc.Migrations
|
|||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<long?>("PostalAddressId")
|
||||
.IsRequired()
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("SecurityStamp")
|
||||
|
|
@ -382,7 +377,7 @@ namespace Yavsc.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("BankInfoId");
|
||||
b.HasAlternateKey("Email");
|
||||
|
||||
b.HasIndex("NormalizedEmail")
|
||||
.HasDatabaseName("EmailIndex");
|
||||
|
|
@ -547,12 +542,18 @@ namespace Yavsc.Migrations
|
|||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("UserId")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("WicketCode")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.ToTable("BankIdentity");
|
||||
});
|
||||
|
||||
|
|
@ -2099,7 +2100,6 @@ namespace Yavsc.Migrations
|
|||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("ParentCode")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Photo")
|
||||
|
|
@ -2685,19 +2685,9 @@ namespace Yavsc.Migrations
|
|||
|
||||
modelBuilder.Entity("Yavsc.Models.ApplicationUser", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Bank.BankIdentity", "BankInfo")
|
||||
.WithMany()
|
||||
.HasForeignKey("BankInfoId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Yavsc.Models.Relationship.Location", "PostalAddress")
|
||||
.WithMany()
|
||||
.HasForeignKey("PostalAddressId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("BankInfo");
|
||||
.HasForeignKey("PostalAddressId");
|
||||
|
||||
b.Navigation("PostalAddress");
|
||||
});
|
||||
|
|
@ -2713,6 +2703,17 @@ namespace Yavsc.Migrations
|
|||
b.Navigation("Balance");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Bank.BankIdentity", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser", "User")
|
||||
.WithMany("BankInfo")
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Billing.CommandLine", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Billing.Estimate", null)
|
||||
|
|
@ -3231,9 +3232,7 @@ namespace Yavsc.Migrations
|
|||
{
|
||||
b.HasOne("Yavsc.Models.Workflow.Activity", "Parent")
|
||||
.WithMany("Children")
|
||||
.HasForeignKey("ParentCode")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
.HasForeignKey("ParentCode");
|
||||
|
||||
b.Navigation("Parent");
|
||||
});
|
||||
|
|
@ -3434,6 +3433,8 @@ namespace Yavsc.Migrations
|
|||
b.Navigation("AccountBalance")
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("BankInfo");
|
||||
|
||||
b.Navigation("BlackList");
|
||||
|
||||
b.Navigation("Book");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue