using System; using Microsoft.EntityFrameworkCore.Migrations; namespace FileStorage.Migrations { public partial class data228 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "CascadeId", table: "base_branches", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn( name: "Leaf", table: "base_branches", type: "bit", nullable: false, defaultValue: false); migrationBuilder.AddColumn( 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"); } } }