iotgateway/IoTGateway.DataAccess/Migrations/20221012063127_CmdPeriod.cs

27 lines
687 B
C#
Raw Permalink Normal View History

2022-10-12 06:35:45 +00:00
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IoTGateway.DataAccess.Migrations
{
public partial class CmdPeriod : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<uint>(
name: "CmdPeriod",
table: "Devices",
type: "INTEGER",
nullable: false,
defaultValue: 0u);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CmdPeriod",
table: "Devices");
}
}
}