Parcourir la source

update samples.

master
yangxiaodong il y a 7 ans
Parent
révision
d46dab2d33
3 fichiers modifiés avec 8 ajouts et 3 suppressions
  1. +4
    -2
      samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.Designer.cs
  2. +2
    -1
      samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.cs
  3. +2
    -0
      samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs

samples/Sample.Kafka/Migrations/20170629074148_InitCreate.Designer.cs → samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.Designer.cs Voir le fichier

@@ -8,8 +8,8 @@ using Sample.Kafka;
namespace Sample.Kafka.Migrations
{
[DbContext(typeof(AppDbContext))]
[Migration("20170629074148_InitCreate")]
partial class InitCreate
[Migration("20170710102614_InitilizeDB")]
partial class InitilizeDB
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
@@ -26,6 +26,8 @@ namespace Sample.Kafka.Migrations

b.Property<string>("Content");

b.Property<string>("Group");

b.Property<string>("KeyName");

b.Property<DateTime>("LastRun");

samples/Sample.Kafka/Migrations/20170629074148_InitCreate.cs → samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.cs Voir le fichier

@@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations;

namespace Sample.Kafka.Migrations
{
public partial class InitCreate : Migration
public partial class InitilizeDB : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
@@ -15,6 +15,7 @@ namespace Sample.Kafka.Migrations
Id = table.Column<string>(nullable: false),
Added = table.Column<DateTime>(nullable: false),
Content = table.Column<string>(nullable: true),
Group = table.Column<string>(nullable: true),
KeyName = table.Column<string>(nullable: true),
LastRun = table.Column<DateTime>(nullable: false),
Retries = table.Column<int>(nullable: false),

+ 2
- 0
samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs Voir le fichier

@@ -25,6 +25,8 @@ namespace Sample.Kafka.Migrations

b.Property<string>("Content");

b.Property<string>("Group");

b.Property<string>("KeyName");

b.Property<DateTime>("LastRun");


Chargement…
Annuler
Enregistrer