using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Blahblah.FlowerStory.Server.Migrations { /// public partial class AddLatitudeLongitude : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "latitude", table: "records", type: "REAL", nullable: true); migrationBuilder.AddColumn( name: "longitude", table: "records", type: "REAL", nullable: true); migrationBuilder.AddColumn( name: "latitude", table: "flowers", type: "REAL", nullable: true); migrationBuilder.AddColumn( name: "longitude", table: "flowers", type: "REAL", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "latitude", table: "records"); migrationBuilder.DropColumn( name: "longitude", table: "records"); migrationBuilder.DropColumn( name: "latitude", table: "flowers"); migrationBuilder.DropColumn( name: "longitude", table: "flowers"); } } }