NadekoBot/NadekoBot.Core/Migrations/20171107131810_sar-level-req.cs

27 lines
742 B
C#
Raw Normal View History

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");
}
}
}