Query status
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
|
||||
@ -403,70 +405,6 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Booking.Instrument", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasAnnotation("MaxLength", 255);
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Booking.MusicalPreference", b =>
|
||||
{
|
||||
b.Property<string>("OwnerProfileId");
|
||||
|
||||
b.Property<string>("DjSettingsUserId");
|
||||
|
||||
b.Property<string>("GeneralSettingsUserId");
|
||||
|
||||
b.Property<int>("Rate");
|
||||
|
||||
b.Property<long>("TendencyId");
|
||||
|
||||
b.HasKey("OwnerProfileId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Booking.MusicalTendency", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasAnnotation("MaxLength", 255);
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Booking.Profiles.DjSettings", b =>
|
||||
{
|
||||
b.Property<string>("UserId");
|
||||
|
||||
b.Property<string>("SoundCloudId");
|
||||
|
||||
b.HasKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Booking.Profiles.GeneralSettings", b =>
|
||||
{
|
||||
b.Property<string>("UserId");
|
||||
|
||||
b.HasKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Booking.Profiles.Instrumentation", b =>
|
||||
{
|
||||
b.Property<long>("InstrumentId");
|
||||
|
||||
b.Property<string>("UserId");
|
||||
|
||||
b.HasKey("InstrumentId", "UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.Connection", b =>
|
||||
{
|
||||
b.Property<string>("ConnectionId");
|
||||
@ -512,8 +450,7 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<string>("Brand");
|
||||
|
||||
b.Property<long?>("ColorId")
|
||||
.IsRequired();
|
||||
b.Property<long>("ColorId");
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
@ -594,6 +531,70 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Musical.Instrument", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasAnnotation("MaxLength", 255);
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Musical.MusicalPreference", b =>
|
||||
{
|
||||
b.Property<string>("OwnerProfileId");
|
||||
|
||||
b.Property<string>("DjSettingsUserId");
|
||||
|
||||
b.Property<string>("GeneralSettingsUserId");
|
||||
|
||||
b.Property<int>("Rate");
|
||||
|
||||
b.Property<long>("TendencyId");
|
||||
|
||||
b.HasKey("OwnerProfileId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Musical.MusicalTendency", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasAnnotation("MaxLength", 255);
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Musical.Profiles.DjSettings", b =>
|
||||
{
|
||||
b.Property<string>("UserId");
|
||||
|
||||
b.Property<string>("SoundCloudId");
|
||||
|
||||
b.HasKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Musical.Profiles.GeneralSettings", b =>
|
||||
{
|
||||
b.Property<string>("UserId");
|
||||
|
||||
b.HasKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Musical.Profiles.Instrumentation", b =>
|
||||
{
|
||||
b.Property<long>("InstrumentId");
|
||||
|
||||
b.Property<string>("UserId");
|
||||
|
||||
b.HasKey("InstrumentId", "UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.OAuth.OAuth2Tokens", b =>
|
||||
{
|
||||
b.Property<string>("UserId");
|
||||
@ -766,6 +767,8 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<string>("Reason");
|
||||
|
||||
b.Property<int>("Status");
|
||||
|
||||
b.Property<string>("UserCreated");
|
||||
|
||||
b.Property<string>("UserModified");
|
||||
@ -980,28 +983,6 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("AuthorId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Booking.MusicalPreference", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Booking.Profiles.DjSettings")
|
||||
.WithMany()
|
||||
.HasForeignKey("DjSettingsUserId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Booking.Profiles.GeneralSettings")
|
||||
.WithMany()
|
||||
.HasForeignKey("GeneralSettingsUserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Booking.Profiles.Instrumentation", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Booking.Instrument")
|
||||
.WithMany()
|
||||
.HasForeignKey("InstrumentId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Workflow.PerformerProfile")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.Connection", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
@ -1037,6 +1018,28 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("BillingAddressId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Musical.MusicalPreference", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Musical.Profiles.DjSettings")
|
||||
.WithMany()
|
||||
.HasForeignKey("DjSettingsUserId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Musical.Profiles.GeneralSettings")
|
||||
.WithMany()
|
||||
.HasForeignKey("GeneralSettingsUserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Musical.Profiles.Instrumentation", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Musical.Instrument")
|
||||
.WithMany()
|
||||
.HasForeignKey("InstrumentId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Workflow.PerformerProfile")
|
||||
.WithMany()
|
||||
.HasForeignKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
|
Reference in New Issue
Block a user