You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
45 lines
1.3 KiB
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace FileStorage.Migrations
|
|
{
|
|
public partial class data228 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "CascadeId",
|
|
table: "base_branches",
|
|
type: "nvarchar(max)",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "Leaf",
|
|
table: "base_branches",
|
|
type: "bit",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
|
|
migrationBuilder.AddColumn<Guid>(
|
|
name: "TenantId",
|
|
table: "base_branches",
|
|
type: "uniqueidentifier",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "CascadeId",
|
|
table: "base_branches");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "Leaf",
|
|
table: "base_branches");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "TenantId",
|
|
table: "base_branches");
|
|
}
|
|
}
|
|
}
|
|
|