29 lines
732 B
C#
29 lines
732 B
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
|
|
||
|
|
#nullable disable
|
||
|
|
|
||
|
|
namespace JobsMedical.Web.Migrations
|
||
|
|
{
|
||
|
|
/// <inheritdoc />
|
||
|
|
public partial class AddSharePercent : Migration
|
||
|
|
{
|
||
|
|
/// <inheritdoc />
|
||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||
|
|
{
|
||
|
|
migrationBuilder.AddColumn<int>(
|
||
|
|
name: "SharePercent",
|
||
|
|
table: "Shifts",
|
||
|
|
type: "integer",
|
||
|
|
nullable: true);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <inheritdoc />
|
||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||
|
|
{
|
||
|
|
migrationBuilder.DropColumn(
|
||
|
|
name: "SharePercent",
|
||
|
|
table: "Shifts");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|