using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace EllieBot.Migrations { public partial class logwarns : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<string>( name: "Name", table: "StreamOnlineMessages", type: "TEXT", nullable: true, oldClrType: typeof(string), oldType: "TEXT"); migrationBuilder.AddColumn<ulong>( name: "LogWarnsId", table: "LogSettings", type: "INTEGER", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "LogWarnsId", table: "LogSettings"); migrationBuilder.AlterColumn<string>( name: "Name", table: "StreamOnlineMessages", type: "TEXT", nullable: false, defaultValue: "", oldClrType: typeof(string), oldType: "TEXT", oldNullable: true); } } }