mirror of https://github.com/abpframework/abp.git
4 changed files with 3 additions and 1732 deletions
File diff suppressed because it is too large
@ -1,32 +0,0 @@ |
|||||
using Microsoft.EntityFrameworkCore.Migrations; |
|
||||
|
|
||||
namespace MyCompanyName.MyProjectName.Migrations |
|
||||
{ |
|
||||
public partial class Remove_UniqueIndex_From_TenantName : Migration |
|
||||
{ |
|
||||
protected override void Up(MigrationBuilder migrationBuilder) |
|
||||
{ |
|
||||
migrationBuilder.DropIndex( |
|
||||
name: "IX_AbpTenants_Name", |
|
||||
table: "AbpTenants"); |
|
||||
|
|
||||
migrationBuilder.CreateIndex( |
|
||||
name: "IX_AbpTenants_Name", |
|
||||
table: "AbpTenants", |
|
||||
column: "Name"); |
|
||||
} |
|
||||
|
|
||||
protected override void Down(MigrationBuilder migrationBuilder) |
|
||||
{ |
|
||||
migrationBuilder.DropIndex( |
|
||||
name: "IX_AbpTenants_Name", |
|
||||
table: "AbpTenants"); |
|
||||
|
|
||||
migrationBuilder.CreateIndex( |
|
||||
name: "IX_AbpTenants_Name", |
|
||||
table: "AbpTenants", |
|
||||
column: "Name", |
|
||||
unique: true); |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue