ENEI2019-Public/api/Migrations/20190322021203_a.cs

38 lines
1.1 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace api.Migrations
{
public partial class a : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<double>(
name: "Long",
table: "EventLocs",
nullable: false,
oldClrType: typeof(float));
migrationBuilder.AlterColumn<double>(
name: "Lat",
table: "EventLocs",
nullable: false,
oldClrType: typeof(float));
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<float>(
name: "Long",
table: "EventLocs",
nullable: false,
oldClrType: typeof(double));
migrationBuilder.AlterColumn<float>(
name: "Lat",
table: "EventLocs",
nullable: false,
oldClrType: typeof(double));
}
}
}