1234567891011121314151617181920212223242526 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace WCS.Service.Migrations
- {
- public partial class 任务新增产品长度 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<decimal>(
- name: "Length",
- table: "WCS_TASK",
- type: "decimal(18,2)",
- nullable: false,
- defaultValue: 0m);
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "Length",
- table: "WCS_TASK");
- }
- }
- }
|