.tesar now has groups!
This commit is contained in:
1911
NadekoBot.Core/Migrations/20171021092614_tesar-grouping.Designer.cs
generated
Normal file
1911
NadekoBot.Core/Migrations/20171021092614_tesar-grouping.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
27
NadekoBot.Core/Migrations/20171021092614_tesar-grouping.cs
Normal file
27
NadekoBot.Core/Migrations/20171021092614_tesar-grouping.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Migrations
|
||||
{
|
||||
public partial class tesargrouping : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Group",
|
||||
table: "SelfAssignableRoles",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: 0)
|
||||
.Annotation("Sqlite:Autoincrement", true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Group",
|
||||
table: "SelfAssignableRoles");
|
||||
}
|
||||
}
|
||||
}
|
@ -1076,6 +1076,10 @@ namespace NadekoBot.Migrations
|
||||
|
||||
b.Property<DateTime?>("DateAdded");
|
||||
|
||||
b.Property<int>("Group")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasDefaultValue(0);
|
||||
|
||||
b.Property<ulong>("GuildId");
|
||||
|
||||
b.Property<ulong>("RoleId");
|
||||
|
Reference in New Issue
Block a user