38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace gehGassi.Persistence.Migrations
|
|
{
|
|
public partial class DogWalkerProfileNotAvailableAdded : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "NotAvailable",
|
|
table: "DogWalkerProfiles",
|
|
type: "bit",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "NotAvailableInfo",
|
|
table: "DogWalkerProfiles",
|
|
type: "nvarchar(500)",
|
|
maxLength: 500,
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "NotAvailable",
|
|
table: "DogWalkerProfiles");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "NotAvailableInfo",
|
|
table: "DogWalkerProfiles");
|
|
}
|
|
}
|
|
}
|