using Microsoft.EntityFrameworkCore.Migrations; namespace NadekoBot.Migrations { public partial class boostmessages : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "BoostMessage", table: "GuildConfigs", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "BoostMessageChannelId", table: "GuildConfigs", type: "INTEGER", nullable: false, defaultValue: 0ul); migrationBuilder.AddColumn( name: "BoostMessageDeleteAfter", table: "GuildConfigs", type: "INTEGER", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "SendBoostMessage", table: "GuildConfigs", type: "INTEGER", nullable: false, defaultValue: false); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "BoostMessage", table: "GuildConfigs"); migrationBuilder.DropColumn( name: "BoostMessageChannelId", table: "GuildConfigs"); migrationBuilder.DropColumn( name: "BoostMessageDeleteAfter", table: "GuildConfigs"); migrationBuilder.DropColumn( name: "SendBoostMessage", table: "GuildConfigs"); } } }