12345678910111213141516171819202122232425262728293031323334353637 |
- using Microsoft.EntityFrameworkCore.Migrations;
- #nullable disable
- namespace MTWorkHR.Infrastructure.Migrations
- {
- /// <inheritdoc />
- public partial class altrAllow : Migration
- {
- /// <inheritdoc />
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "PaymentType",
- table: "ContractAllowance",
- type: "nvarchar(max)",
- nullable: true,
- oldClrType: typeof(int),
- oldType: "int");
- }
- /// <inheritdoc />
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<int>(
- name: "PaymentType",
- table: "ContractAllowance",
- type: "int",
- nullable: false,
- defaultValue: 0,
- oldClrType: typeof(string),
- oldType: "nvarchar(max)",
- oldNullable: true);
- }
- }
- }
|