3 changed files with 1962 additions and 0 deletions
File diff suppressed because it is too large
@ -0,0 +1,62 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Lion.AbpPro.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class UpdateToAbp711 : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "EntityVersion", |
||||
|
table: "AbpUsers", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "EntityVersion", |
||||
|
table: "AbpTenants", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "EntityVersion", |
||||
|
table: "AbpRoles", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "EntityVersion", |
||||
|
table: "AbpOrganizationUnits", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "EntityVersion", |
||||
|
table: "AbpUsers"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "EntityVersion", |
||||
|
table: "AbpTenants"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "EntityVersion", |
||||
|
table: "AbpRoles"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "EntityVersion", |
||||
|
table: "AbpOrganizationUnits"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue