using Microsoft.EntityFrameworkCore.Migrations; namespace usaquote_api.Migrations { public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Quotes", columns: table => new { ID = table.Column(nullable: false) .Annotation("Sqlite:Autoincrement", true), speaker = table.Column(nullable: true), content = table.Column(nullable: true) }, constraints: table => { table.PrimaryKey("PK_Quotes", x => x.ID); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Quotes"); } } }