|
|
|
@ -0,0 +1,35 @@
|
|
|
|
|
using System;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
using AbpDesk.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
namespace AbpDesk.EntityFrameworkCore.Migrations
|
|
|
|
|
{
|
|
|
|
|
[DbContext(typeof(AbpDeskDbContext))]
|
|
|
|
|
[Migration("20161210211733_Initial_Migration")]
|
|
|
|
|
partial class Initial_Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
modelBuilder
|
|
|
|
|
.HasAnnotation("ProductVersion", "1.1.0-rtm-22752")
|
|
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("AbpDesk.Tickets.Ticket", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd();
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Body");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("DskTickets");
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|