Initial split of the modules
This commit is contained in:
27
NadekoBot.Core/Migrations/20170913022654_total-xp.cs
Normal file
27
NadekoBot.Core/Migrations/20170913022654_total-xp.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace NadekoBot.Migrations
|
||||
{
|
||||
public partial class totalxp : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "TotalXp",
|
||||
table: "DiscordUser",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.Sql(MigrationQueries.TotalXp);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TotalXp",
|
||||
table: "DiscordUser");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user