|
123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using Microsoft.EntityFrameworkCore;
- using Microsoft.EntityFrameworkCore.Infrastructure;
- using Microsoft.EntityFrameworkCore.Metadata;
- using Microsoft.EntityFrameworkCore.Migrations;
- using Sample.Kafka;
- using DotNetCore.CAP.Infrastructure;
-
- namespace Sample.Kafka.Migrations
- {
- [DbContext(typeof(AppDbContext))]
- [Migration("20170622091105_CreateInit")]
- partial class CreateInit
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
- modelBuilder
- .HasAnnotation("ProductVersion", "1.1.2")
- .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
-
- modelBuilder.Entity("DotNetCore.CAP.Infrastructure.ConsistencyMessage", b =>
- {
- b.Property<string>("Id")
- .ValueGeneratedOnAdd();
-
- b.Property<string>("Payload");
-
- b.Property<byte[]>("RowVersion")
- .IsConcurrencyToken();
-
- b.Property<DateTime>("SendTime");
-
- b.Property<int>("Status");
-
- b.Property<string>("Topic");
-
- b.Property<DateTime?>("UpdateTime");
-
- b.HasKey("Id");
-
- b.ToTable("Messages");
- });
- }
- }
- }
|