using Meezi.Infrastructure.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Meezi.Infrastructure.Data.Migrations { [DbContext(typeof(AppDbContext))] [Migration("20260601120000_AddCafeLocation")] public partial class AddCafeLocation : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Latitude", table: "Cafes", type: "double precision", nullable: true); migrationBuilder.AddColumn( name: "Longitude", table: "Cafes", type: "double precision", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Latitude", table: "Cafes"); migrationBuilder.DropColumn( name: "Longitude", table: "Cafes"); } } }