1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace WCS.Service.Migrations
- {
- public partial class _12 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- //migrationBuilder.RenameColumn(
- // name: "Istation521Status",
- // table: "WCS_STATION521",
- // newName: "Status");
- migrationBuilder.AlterColumn<int>(
- name: "Position",
- table: "WCS_RGV521",
- type: "int",
- nullable: false,
- oldClrType: typeof(float),
- oldType: "real");
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- //migrationBuilder.RenameColumn(
- // name: "Status",
- // table: "WCS_STATION521",
- // newName: "Istation521Status");
- migrationBuilder.AlterColumn<float>(
- name: "Position",
- table: "WCS_RGV521",
- type: "real",
- nullable: false,
- oldClrType: typeof(int),
- oldType: "int");
- }
- }
- }
|