From d46dab2d3364f403dfe2738b1e06b5874122e206 Mon Sep 17 00:00:00 2001 From: yangxiaodong Date: Tue, 11 Jul 2017 10:06:26 +0800 Subject: [PATCH 1/3] update samples. --- ...e.Designer.cs => 20170710102614_InitilizeDB.Designer.cs} | 6 ++++-- ...29074148_InitCreate.cs => 20170710102614_InitilizeDB.cs} | 3 ++- .../Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs | 2 ++ 3 files changed, 8 insertions(+), 3 deletions(-) rename samples/Sample.Kafka/Migrations/{20170629074148_InitCreate.Designer.cs => 20170710102614_InitilizeDB.Designer.cs} (93%) rename samples/Sample.Kafka/Migrations/{20170629074148_InitCreate.cs => 20170710102614_InitilizeDB.cs} (94%) diff --git a/samples/Sample.Kafka/Migrations/20170629074148_InitCreate.Designer.cs b/samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.Designer.cs similarity index 93% rename from samples/Sample.Kafka/Migrations/20170629074148_InitCreate.Designer.cs rename to samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.Designer.cs index ff7d387..5ed1422 100644 --- a/samples/Sample.Kafka/Migrations/20170629074148_InitCreate.Designer.cs +++ b/samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.Designer.cs @@ -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("Content"); + b.Property("Group"); + b.Property("KeyName"); b.Property("LastRun"); diff --git a/samples/Sample.Kafka/Migrations/20170629074148_InitCreate.cs b/samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.cs similarity index 94% rename from samples/Sample.Kafka/Migrations/20170629074148_InitCreate.cs rename to samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.cs index 9168f8c..58c85e8 100644 --- a/samples/Sample.Kafka/Migrations/20170629074148_InitCreate.cs +++ b/samples/Sample.Kafka/Migrations/20170710102614_InitilizeDB.cs @@ -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(nullable: false), Added = table.Column(nullable: false), Content = table.Column(nullable: true), + Group = table.Column(nullable: true), KeyName = table.Column(nullable: true), LastRun = table.Column(nullable: false), Retries = table.Column(nullable: false), diff --git a/samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs b/samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs index cd7fc0b..bd06932 100644 --- a/samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs +++ b/samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs @@ -25,6 +25,8 @@ namespace Sample.Kafka.Migrations b.Property("Content"); + b.Property("Group"); + b.Property("KeyName"); b.Property("LastRun"); From d7353f72ac85c755abad6073a00a017a45d7abca Mon Sep 17 00:00:00 2001 From: Savorboard Date: Wed, 19 Jul 2017 20:39:38 +0800 Subject: [PATCH 2/3] remove --- .../Migrations/AppDbContextModelSnapshot.cs | 68 ------------------- 1 file changed, 68 deletions(-) delete mode 100644 samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs diff --git a/samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs b/samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs deleted file mode 100644 index bd06932..0000000 --- a/samples/Sample.Kafka/Migrations/AppDbContextModelSnapshot.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Sample.Kafka; - -namespace Sample.Kafka.Migrations -{ - [DbContext(typeof(AppDbContext))] - partial class AppDbContextModelSnapshot : ModelSnapshot - { - protected override void BuildModel(ModelBuilder modelBuilder) - { - modelBuilder - .HasAnnotation("ProductVersion", "1.1.2") - .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); - - modelBuilder.Entity("DotNetCore.CAP.Infrastructure.CapReceivedMessage", b => - { - b.Property("Id") - .ValueGeneratedOnAdd(); - - b.Property("Added"); - - b.Property("Content"); - - b.Property("Group"); - - b.Property("KeyName"); - - b.Property("LastRun"); - - b.Property("Retries"); - - b.Property("StatusName") - .HasMaxLength(50); - - b.HasKey("Id"); - - b.ToTable("ReceivedMessages"); - }); - - modelBuilder.Entity("DotNetCore.CAP.Infrastructure.CapSentMessage", b => - { - b.Property("Id") - .ValueGeneratedOnAdd(); - - b.Property("Added"); - - b.Property("Content"); - - b.Property("KeyName"); - - b.Property("LastRun"); - - b.Property("Retries"); - - b.Property("StatusName") - .HasMaxLength(50); - - b.HasKey("Id"); - - b.ToTable("SentMessages"); - }); - } - } -} From 42482efb9ec7b0506a15b50a5719158a6fdb89ac Mon Sep 17 00:00:00 2001 From: Savorboard Date: Wed, 19 Jul 2017 20:54:42 +0800 Subject: [PATCH 3/3] update api_key with encrypt. --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 203f11c..e86c099 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,6 +17,6 @@ deploy: on: appveyor_repo_tag: true api_key: - secure: U62rpGTEqztrUO4ncscm4XSaAoCSmWwT/rOWO/2JJS44psJvl0QpjRL0o0ughMoY + secure: BmfEd8I5evTtjtvB6KJsCGei+VVOYwY72pmNCzVA+G7iM0JK/YdIC58hAFoHvSW/ skip_symbols: true artifact: /artifacts\/packages\/.+\.nupkg/