PhoneToolMX/PhoneToolMX.Models/Migrations/20231020205952_PrimaryExtension.cs

26 lines
667 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace PhoneToolMX.Models.Migrations
{
public partial class PrimaryExtension : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "PrimaryExtension",
table: "Phones",
type: "integer",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PrimaryExtension",
table: "Phones");
}
}
}