.rlr - Set a level requirement on a self-assignable role
This commit is contained in:
26
NadekoBot.Core/Migrations/20171107131810_sar-level-req.cs
Normal file
26
NadekoBot.Core/Migrations/20171107131810_sar-level-req.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Migrations
|
||||
{
|
||||
public partial class sarlevelreq : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "LevelRequirement",
|
||||
table: "SelfAssignableRoles",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LevelRequirement",
|
||||
table: "SelfAssignableRoles");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user