1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using Microsoft.EntityFrameworkCore.Migrations;
- namespace WCS.Service.Migrations
- {
- public partial class _7251 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "WCS_AGVTask");
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "WCS_AGVTask",
- columns: table => new
- {
- ID = table.Column<int>(type: "int", nullable: false)
- .Annotation("SqlServer:Identity", "1, 1"),
- AGVStatus = table.Column<int>(type: "int", nullable: false),
- AGVUpdateTime = table.Column<DateTime>(type: "datetime2", nullable: true),
- CreateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
- Position = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false),
- Station = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
- Status = table.Column<int>(type: "int", nullable: false),
- TaskType = table.Column<int>(type: "int", nullable: false),
- UpdateTime = table.Column<DateTime>(type: "datetime2", nullable: true),
- Workshop = table.Column<int>(type: "int", nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_WCS_AGVTask", x => x.ID);
- });
- }
- }
- }
|