iotgateway/IoTGateway.DataAccess/Migrations/20220323063908_attribut.cs

27 lines
694 B
C#
Raw Permalink Normal View History

2022-03-24 13:38:11 +00:00
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IoTGateway.DataAccess.Migrations
{
public partial class attribut : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "DataSide",
table: "DeviceConfigs",
type: "INTEGER",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DataSide",
table: "DeviceConfigs");
}
}
}