mirror of https://github.com/abpframework/eventhub
4 changed files with 2658 additions and 1 deletions
File diff suppressed because it is too large
@ -0,0 +1,24 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace EventHub.Migrations |
||||
|
{ |
||||
|
public partial class Added_MemberCount_To_Organization : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "MemberCount", |
||||
|
table: "EhOrganizations", |
||||
|
type: "integer", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "MemberCount", |
||||
|
table: "EhOrganizations"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue