chatRooms
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
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
|
||||
@ -183,6 +181,8 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<DateTimeOffset?>("LockoutEnd");
|
||||
|
||||
b.Property<long>("MaxFileSize");
|
||||
|
||||
b.Property<string>("NormalizedEmail")
|
||||
.HasAnnotation("MaxLength", 256);
|
||||
|
||||
@ -480,7 +480,7 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.Connection", b =>
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.ChatConnection", b =>
|
||||
{
|
||||
b.Property<string>("ConnectionId");
|
||||
|
||||
@ -494,6 +494,30 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("ConnectionId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.ChatRoom", b =>
|
||||
{
|
||||
b.Property<string>("Name")
|
||||
.HasAnnotation("MaxLength", 255);
|
||||
|
||||
b.Property<string>("ApplicationUserId");
|
||||
|
||||
b.Property<string>("Topic")
|
||||
.HasAnnotation("MaxLength", 1023);
|
||||
|
||||
b.HasKey("Name");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.ChatRoomPresence", b =>
|
||||
{
|
||||
b.Property<string>("ChannelName");
|
||||
|
||||
b.Property<string>("ChatUserConnectionId");
|
||||
|
||||
b.Property<int>("Level");
|
||||
|
||||
b.HasKey("ChannelName", "ChatUserConnectionId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Cratie.Option", b =>
|
||||
{
|
||||
b.Property<string>("Code");
|
||||
@ -784,7 +808,7 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<string>("Description");
|
||||
|
||||
b.Property<long>("FeatureId");
|
||||
b.Property<long?>("FeatureId");
|
||||
|
||||
b.Property<int>("Status");
|
||||
|
||||
@ -1429,13 +1453,31 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("PeriodStart", "PeriodEnd");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.Connection", b =>
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.ChatConnection", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
.WithMany()
|
||||
.HasForeignKey("ApplicationUserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.ChatRoom", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
.WithMany()
|
||||
.HasForeignKey("ApplicationUserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Chat.ChatRoomPresence", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Chat.ChatRoom")
|
||||
.WithMany()
|
||||
.HasForeignKey("ChannelName");
|
||||
|
||||
b.HasOne("Yavsc.Models.Chat.ChatConnection")
|
||||
.WithMany()
|
||||
.HasForeignKey("ChatUserConnectionId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Haircut.BrusherProfile", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Calendar.Schedule")
|
||||
@ -1537,6 +1579,13 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("DeviceOwnerId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.IT.Fixing.Bug", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.IT.Maintaining.Feature")
|
||||
.WithMany()
|
||||
.HasForeignKey("FeatureId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Market.Service", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Workflow.Activity")
|
||||
|
Reference in New Issue
Block a user