Added migration
This commit is contained in:
parent
70656e07a3
commit
d484169a34
@ -8,7 +8,7 @@ using NadekoBot.Services.Database.Impl;
|
|||||||
namespace NadekoBot.Migrations
|
namespace NadekoBot.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(NadekoSqliteContext))]
|
[DbContext(typeof(NadekoSqliteContext))]
|
||||||
[Migration("20160905095544_first")]
|
[Migration("20160908202817_first")]
|
||||||
partial class first
|
partial class first
|
||||||
{
|
{
|
||||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||||
@ -39,6 +39,10 @@ namespace NadekoBot.Migrations
|
|||||||
|
|
||||||
b.Property<ulong>("BufferSize");
|
b.Property<ulong>("BufferSize");
|
||||||
|
|
||||||
|
b.Property<float>("CurrencyGenerationChance");
|
||||||
|
|
||||||
|
b.Property<int>("CurrencyGenerationCooldown");
|
||||||
|
|
||||||
b.Property<string>("CurrencyName");
|
b.Property<string>("CurrencyName");
|
||||||
|
|
||||||
b.Property<string>("CurrencyPluralName");
|
b.Property<string>("CurrencyPluralName");
|
||||||
@ -225,6 +229,8 @@ namespace NadekoBot.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("ExclusiveSelfAssignedRoles");
|
b.Property<bool>("ExclusiveSelfAssignedRoles");
|
||||||
|
|
||||||
|
b.Property<ulong?>("GenerateCurrencyChannelId");
|
||||||
|
|
||||||
b.Property<ulong>("GreetMessageChannelId");
|
b.Property<ulong>("GreetMessageChannelId");
|
||||||
|
|
||||||
b.Property<ulong>("GuildId");
|
b.Property<ulong>("GuildId");
|
@ -15,6 +15,8 @@ namespace NadekoBot.Migrations
|
|||||||
Id = table.Column<int>(nullable: false)
|
Id = table.Column<int>(nullable: false)
|
||||||
.Annotation("Autoincrement", true),
|
.Annotation("Autoincrement", true),
|
||||||
BufferSize = table.Column<ulong>(nullable: false),
|
BufferSize = table.Column<ulong>(nullable: false),
|
||||||
|
CurrencyGenerationChance = table.Column<float>(nullable: false),
|
||||||
|
CurrencyGenerationCooldown = table.Column<int>(nullable: false),
|
||||||
CurrencyName = table.Column<string>(nullable: true),
|
CurrencyName = table.Column<string>(nullable: true),
|
||||||
CurrencyPluralName = table.Column<string>(nullable: true),
|
CurrencyPluralName = table.Column<string>(nullable: true),
|
||||||
CurrencySign = table.Column<string>(nullable: true),
|
CurrencySign = table.Column<string>(nullable: true),
|
||||||
@ -342,6 +344,7 @@ namespace NadekoBot.Migrations
|
|||||||
DeleteMessageOnCommand = table.Column<bool>(nullable: false),
|
DeleteMessageOnCommand = table.Column<bool>(nullable: false),
|
||||||
DmGreetMessageText = table.Column<string>(nullable: true),
|
DmGreetMessageText = table.Column<string>(nullable: true),
|
||||||
ExclusiveSelfAssignedRoles = table.Column<bool>(nullable: false),
|
ExclusiveSelfAssignedRoles = table.Column<bool>(nullable: false),
|
||||||
|
GenerateCurrencyChannelId = table.Column<ulong>(nullable: true),
|
||||||
GreetMessageChannelId = table.Column<ulong>(nullable: false),
|
GreetMessageChannelId = table.Column<ulong>(nullable: false),
|
||||||
GuildId = table.Column<ulong>(nullable: false),
|
GuildId = table.Column<ulong>(nullable: false),
|
||||||
LogSettingId = table.Column<int>(nullable: true),
|
LogSettingId = table.Column<int>(nullable: true),
|
@ -38,6 +38,10 @@ namespace NadekoBot.Migrations
|
|||||||
|
|
||||||
b.Property<ulong>("BufferSize");
|
b.Property<ulong>("BufferSize");
|
||||||
|
|
||||||
|
b.Property<float>("CurrencyGenerationChance");
|
||||||
|
|
||||||
|
b.Property<int>("CurrencyGenerationCooldown");
|
||||||
|
|
||||||
b.Property<string>("CurrencyName");
|
b.Property<string>("CurrencyName");
|
||||||
|
|
||||||
b.Property<string>("CurrencyPluralName");
|
b.Property<string>("CurrencyPluralName");
|
||||||
@ -224,6 +228,8 @@ namespace NadekoBot.Migrations
|
|||||||
|
|
||||||
b.Property<bool>("ExclusiveSelfAssignedRoles");
|
b.Property<bool>("ExclusiveSelfAssignedRoles");
|
||||||
|
|
||||||
|
b.Property<ulong?>("GenerateCurrencyChannelId");
|
||||||
|
|
||||||
b.Property<ulong>("GreetMessageChannelId");
|
b.Property<ulong>("GreetMessageChannelId");
|
||||||
|
|
||||||
b.Property<ulong>("GuildId");
|
b.Property<ulong>("GuildId");
|
||||||
|
Loading…
Reference in New Issue
Block a user