12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- using System;
- using Microsoft.EntityFrameworkCore.Migrations;
- namespace ProductionLineMonitor.Web.Migrations
- {
- public partial class _202211031118 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AddColumn<DateTime>(
- name: "DataTime",
- table: "MachineProcessPSs",
- type: "TEXT",
- nullable: false,
- defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
- migrationBuilder.AddColumn<DateTime>(
- name: "DataTime",
- table: "MachineProcessPSEPDs",
- type: "TEXT",
- nullable: false,
- defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
- migrationBuilder.AddColumn<DateTime>(
- name: "DataTime",
- table: "MachineProcessFOGs",
- type: "TEXT",
- nullable: false,
- defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
- migrationBuilder.AddColumn<DateTime>(
- name: "DataTime",
- table: "MachineProcessBTs",
- type: "TEXT",
- nullable: false,
- defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
- }
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropColumn(
- name: "DataTime",
- table: "MachineProcessPSs");
- migrationBuilder.DropColumn(
- name: "DataTime",
- table: "MachineProcessPSEPDs");
- migrationBuilder.DropColumn(
- name: "DataTime",
- table: "MachineProcessFOGs");
- migrationBuilder.DropColumn(
- name: "DataTime",
- table: "MachineProcessBTs");
- }
- }
- }
|