forked from ddrilling/AsbCloudServer
24 lines
721 B
C#
24 lines
721 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace AsbCloudDb.Migrations
|
|
{
|
|
public partial class Fix_telemetrydataspin_field_name : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "encoder_resolution ",
|
|
table: "t_telemetry_data_spin",
|
|
newName: "encoder_resolution");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "encoder_resolution",
|
|
table: "t_telemetry_data_spin",
|
|
newName: "encoder_resolution ");
|
|
}
|
|
}
|
|
}
|