forked from ddrilling/AsbCloudServer
Rename Well.State to Well.IdState
This commit is contained in:
parent
16e17c0559
commit
701f5b26d2
2695
AsbCloudDb/Migrations/20211020053649_Rename_Well_State_to_IdState.Designer.cs
generated
Normal file
2695
AsbCloudDb/Migrations/20211020053649_Rename_Well_State_to_IdState.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,17 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace AsbCloudDb.Migrations
|
||||
{
|
||||
public partial class Rename_Well_State_to_IdState : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -1636,6 +1636,11 @@ namespace AsbCloudDb.Migrations
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("id_cluster");
|
||||
|
||||
b.Property<int>("IdState")
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("state")
|
||||
.HasComment("0 - неизвестно, 1 - в работе, 2 - завершена");
|
||||
|
||||
b.Property<int?>("IdTelemetry")
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("id_telemetry");
|
||||
@ -1652,11 +1657,6 @@ namespace AsbCloudDb.Migrations
|
||||
.HasColumnType("double precision")
|
||||
.HasColumnName("longitude");
|
||||
|
||||
b.Property<int>("State")
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("state")
|
||||
.HasComment("0 - неизвестно, 1 - в работе, 2 - завершена");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("IdCluster");
|
||||
|
@ -29,7 +29,7 @@ namespace AsbCloudDb.Model
|
||||
public int? IdWellType { get; set; }
|
||||
|
||||
[Column("state"), Comment("0 - неизвестно, 1 - в работе, 2 - завершена")]
|
||||
public int State { get; set; }
|
||||
public int IdState { get; set; }
|
||||
|
||||
[Column("latitude")]
|
||||
public double? Latitude { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user