mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
32 lines
907 B
32 lines
907 B
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace Volo.CmsKit.Migrations
|
|
{
|
|
public partial class Reaction_Comment_Multitenancy : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<Guid>(
|
|
name: "TenantId",
|
|
table: "CmsUserReactions",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<Guid>(
|
|
name: "TenantId",
|
|
table: "CmsComments",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "TenantId",
|
|
table: "CmsUserReactions");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "TenantId",
|
|
table: "CmsComments");
|
|
}
|
|
}
|
|
}
|
|
|