From d484169a34b7a9eb4e4dc5d39d259d12975f291b Mon Sep 17 00:00:00 2001 From: Kwoth Date: Thu, 8 Sep 2016 22:28:44 +0200 Subject: [PATCH] Added migration --- ...first.Designer.cs => 20160908202817_first.Designer.cs} | 8 +++++++- .../{20160905095544_first.cs => 20160908202817_first.cs} | 3 +++ .../Migrations/NadekoSqliteContextModelSnapshot.cs | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) rename src/NadekoBot/Migrations/{20160905095544_first.Designer.cs => 20160908202817_first.Designer.cs} (98%) rename src/NadekoBot/Migrations/{20160905095544_first.cs => 20160908202817_first.cs} (98%) diff --git a/src/NadekoBot/Migrations/20160905095544_first.Designer.cs b/src/NadekoBot/Migrations/20160908202817_first.Designer.cs similarity index 98% rename from src/NadekoBot/Migrations/20160905095544_first.Designer.cs rename to src/NadekoBot/Migrations/20160908202817_first.Designer.cs index 130eebf3..5212a3d3 100644 --- a/src/NadekoBot/Migrations/20160905095544_first.Designer.cs +++ b/src/NadekoBot/Migrations/20160908202817_first.Designer.cs @@ -8,7 +8,7 @@ using NadekoBot.Services.Database.Impl; namespace NadekoBot.Migrations { [DbContext(typeof(NadekoSqliteContext))] - [Migration("20160905095544_first")] + [Migration("20160908202817_first")] partial class first { protected override void BuildTargetModel(ModelBuilder modelBuilder) @@ -39,6 +39,10 @@ namespace NadekoBot.Migrations b.Property("BufferSize"); + b.Property("CurrencyGenerationChance"); + + b.Property("CurrencyGenerationCooldown"); + b.Property("CurrencyName"); b.Property("CurrencyPluralName"); @@ -225,6 +229,8 @@ namespace NadekoBot.Migrations b.Property("ExclusiveSelfAssignedRoles"); + b.Property("GenerateCurrencyChannelId"); + b.Property("GreetMessageChannelId"); b.Property("GuildId"); diff --git a/src/NadekoBot/Migrations/20160905095544_first.cs b/src/NadekoBot/Migrations/20160908202817_first.cs similarity index 98% rename from src/NadekoBot/Migrations/20160905095544_first.cs rename to src/NadekoBot/Migrations/20160908202817_first.cs index ada195ce..fa79e6ea 100644 --- a/src/NadekoBot/Migrations/20160905095544_first.cs +++ b/src/NadekoBot/Migrations/20160908202817_first.cs @@ -15,6 +15,8 @@ namespace NadekoBot.Migrations Id = table.Column(nullable: false) .Annotation("Autoincrement", true), BufferSize = table.Column(nullable: false), + CurrencyGenerationChance = table.Column(nullable: false), + CurrencyGenerationCooldown = table.Column(nullable: false), CurrencyName = table.Column(nullable: true), CurrencyPluralName = table.Column(nullable: true), CurrencySign = table.Column(nullable: true), @@ -342,6 +344,7 @@ namespace NadekoBot.Migrations DeleteMessageOnCommand = table.Column(nullable: false), DmGreetMessageText = table.Column(nullable: true), ExclusiveSelfAssignedRoles = table.Column(nullable: false), + GenerateCurrencyChannelId = table.Column(nullable: true), GreetMessageChannelId = table.Column(nullable: false), GuildId = table.Column(nullable: false), LogSettingId = table.Column(nullable: true), diff --git a/src/NadekoBot/Migrations/NadekoSqliteContextModelSnapshot.cs b/src/NadekoBot/Migrations/NadekoSqliteContextModelSnapshot.cs index 12f2384b..be252766 100644 --- a/src/NadekoBot/Migrations/NadekoSqliteContextModelSnapshot.cs +++ b/src/NadekoBot/Migrations/NadekoSqliteContextModelSnapshot.cs @@ -38,6 +38,10 @@ namespace NadekoBot.Migrations b.Property("BufferSize"); + b.Property("CurrencyGenerationChance"); + + b.Property("CurrencyGenerationCooldown"); + b.Property("CurrencyName"); b.Property("CurrencyPluralName"); @@ -224,6 +228,8 @@ namespace NadekoBot.Migrations b.Property("ExclusiveSelfAssignedRoles"); + b.Property("GenerateCurrencyChannelId"); + b.Property("GreetMessageChannelId"); b.Property("GuildId");