hair taints command in db
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Data.Entity.Infrastructure;
|
||||
using Microsoft.Data.Entity.Metadata;
|
||||
using Microsoft.Data.Entity.Migrations;
|
||||
using Yavsc.Models;
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
@ -637,11 +639,18 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<long>("ColorId");
|
||||
|
||||
b.Property<long?>("HairPrestationId");
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Haircut.HairTaintInstance", b =>
|
||||
{
|
||||
b.Property<long>("TaintId");
|
||||
|
||||
b.Property<long>("PrestationId");
|
||||
|
||||
b.HasKey("TaintId", "PrestationId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Identity.GoogleCloudMobileDeclaration", b =>
|
||||
{
|
||||
b.Property<string>("DeviceId");
|
||||
@ -1251,10 +1260,17 @@ namespace Yavsc.Migrations
|
||||
b.HasOne("Yavsc.Models.Drawing.Color")
|
||||
.WithMany()
|
||||
.HasForeignKey("ColorId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Haircut.HairTaintInstance", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Haircut.HairPrestation")
|
||||
.WithMany()
|
||||
.HasForeignKey("HairPrestationId");
|
||||
.HasForeignKey("PrestationId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Haircut.HairTaint")
|
||||
.WithMany()
|
||||
.HasForeignKey("TaintId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Identity.GoogleCloudMobileDeclaration", b =>
|
||||
|
Reference in New Issue
Block a user