bugs & features
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
|
||||
@ -453,6 +455,25 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("ConnectionId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Cratie.Option", b =>
|
||||
{
|
||||
b.Property<string>("Code");
|
||||
|
||||
b.Property<string>("CodeScrutin");
|
||||
|
||||
b.Property<DateTime>("DateCreated");
|
||||
|
||||
b.Property<DateTime>("DateModified");
|
||||
|
||||
b.Property<string>("Description");
|
||||
|
||||
b.Property<string>("UserCreated");
|
||||
|
||||
b.Property<string>("UserModified");
|
||||
|
||||
b.HasKey("Code", "CodeScrutin");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Drawing.Color", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
@ -717,6 +738,32 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("DeviceId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.IT.Fixing.Bug", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<long>("FeatureId");
|
||||
|
||||
b.Property<int>("Status");
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.IT.Maintaining.Feature", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
.ValueGeneratedOnAdd();
|
||||
|
||||
b.Property<string>("Description");
|
||||
|
||||
b.Property<string>("ShortName");
|
||||
|
||||
b.Property<int>("Status");
|
||||
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Market.Product", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
@ -798,7 +845,9 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<string>("color");
|
||||
|
||||
b.Property<string>("icon");
|
||||
b.Property<string>("icon")
|
||||
.HasAnnotation("Relational:DefaultValue", "exclam")
|
||||
.HasAnnotation("Relational:DefaultValueType", "System.String");
|
||||
|
||||
b.Property<string>("sound");
|
||||
|
||||
@ -915,6 +964,15 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("CreationToken");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.BlogTag", b =>
|
||||
{
|
||||
b.Property<long>("PostId");
|
||||
|
||||
b.Property<long>("TagId");
|
||||
|
||||
b.HasKey("PostId", "TagId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
@ -992,15 +1050,6 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("Id");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.PostTag", b =>
|
||||
{
|
||||
b.Property<long>("PostId");
|
||||
|
||||
b.Property<long>("TagId");
|
||||
|
||||
b.HasKey("PostId", "TagId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Tag", b =>
|
||||
{
|
||||
b.Property<long>("Id")
|
||||
@ -1466,6 +1515,17 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("ExecutorId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.BlogTag", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Blog")
|
||||
.WithMany()
|
||||
.HasForeignKey("PostId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Relationship.Tag")
|
||||
.WithMany()
|
||||
.HasForeignKey("TagId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
@ -1502,13 +1562,6 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("PayPalPaymentCreationToken");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.PostTag", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Blog")
|
||||
.WithMany()
|
||||
.HasForeignKey("PostId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Workflow.Activity", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Workflow.Activity")
|
||||
|
Reference in New Issue
Block a user