using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace NadekoBot.Migrations { public partial class removeconvertunits : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "ConversionUnits"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "ConversionUnits", columns: table => new { Id = table.Column(nullable: false) .Annotation("Sqlite:Autoincrement", true), DateAdded = table.Column(nullable: true), InternalTrigger = table.Column(nullable: true), Modifier = table.Column(nullable: false), UnitType = table.Column(nullable: true) }, constraints: table => { table.PrimaryKey("PK_ConversionUnits", x => x.Id); }); } } }