| 1234567891011121314151617181920212223242526272829303132333435363738 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace Business.Migrations
- {
- public partial class addtable20230615 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<long>(
- name: "morder_id",
- table: "srm_po_occupy",
- type: "bigint",
- nullable: true,
- comment: "工单ID");
- migrationBuilder.AddColumn<string>(
- name: "morder_mo",
- table: "srm_po_occupy",
- type: "nvarchar(max)",
- nullable: false,
- defaultValue: "",
- comment: "工单编号");
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "morder_id",
- table: "srm_po_occupy");
- migrationBuilder.DropColumn(
- name: "morder_mo",
- table: "srm_po_occupy");
- }
- }
- }
|