1234567891011121314151617181920212223242526272829303132333435 |
- using Microsoft.EntityFrameworkCore.Migrations;
- namespace WCS.Service.Migrations
- {
- public partial class _212112061 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "ADDRCURRENT",
- table: "WCS_TASK");
- migrationBuilder.AddColumn<int>(
- name: "Priority",
- table: "WCS_TASK",
- type: "int",
- nullable: false,
- defaultValue: 0);
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Priority",
- table: "WCS_TASK");
- migrationBuilder.AddColumn<string>(
- name: "ADDRCURRENT",
- table: "WCS_TASK",
- type: "nvarchar(20)",
- maxLength: 20,
- nullable: true);
- }
- }
- }
|