forked from ddrilling/AsbCloudServer
Fix db model TelemetryDataSpin. remove space in encoder_resolution column
This commit is contained in:
parent
864d851b6a
commit
a5eb4e5212
2763
AsbCloudDb/Migrations/20211115090307_Fix_telemetrydataspin_field_name.Designer.cs
generated
Normal file
2763
AsbCloudDb/Migrations/20211115090307_Fix_telemetrydataspin_field_name.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,23 @@
|
|||||||
|
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 ");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user