35 lines
977 B
C#
35 lines
977 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace PersonnelDepartmentDatabaseImplement.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class SecMig : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<long>(
|
|
name: "Telephone",
|
|
table: "Departments",
|
|
type: "bigint",
|
|
nullable: false,
|
|
oldClrType: typeof(int),
|
|
oldType: "integer");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "Telephone",
|
|
table: "Departments",
|
|
type: "integer",
|
|
nullable: false,
|
|
oldClrType: typeof(long),
|
|
oldType: "bigint");
|
|
}
|
|
}
|
|
}
|